@Namespace(value="at::native") @Properties(inherit=torch_cuda.class) public class CTCLossDescriptor extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
CTCLossDescriptor()
Default native constructor.
|
CTCLossDescriptor(long size)
Native array allocator.
|
CTCLossDescriptor(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
CTCLossDescriptor |
getPointer(long i) |
CTCLossDescriptor |
position(long position) |
void |
set_v8_v9(int datatype,
int normMode,
int gradMode,
int maxLabelLength) |
void |
set(int datatype) |
void |
setEx(int datatype,
int normMode,
int gradMode) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public CTCLossDescriptor()
public CTCLossDescriptor(long size)
Pointer.position(long)
.public CTCLossDescriptor(Pointer p)
Pointer(Pointer)
.public CTCLossDescriptor position(long position)
public CTCLossDescriptor getPointer(long i)
getPointer
in class Pointer
public void setEx(@Cast(value="cudnnDataType_t") int datatype, @Cast(value="cudnnLossNormalizationMode_t") int normMode, @Cast(value="cudnnNanPropagation_t") int gradMode)
Copyright © 2024. All rights reserved.