@Namespace(value="torch::nn") @Properties(inherit=torch.class) public class CTCLossOptions extends Pointer
CTCLoss
module.
Example:
CTCLoss
model(CTCLossOptions().blank(42).zero_infinity(false).reduction(torch::kSum));
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
CTCLossOptions()
Default native constructor.
|
CTCLossOptions(long size)
Native array allocator.
|
CTCLossOptions(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
LongPointer |
blank() |
CTCLossOptions |
getPointer(long i) |
CTCLossOptions |
position(long position) |
LossReduction |
reduction() |
BoolPointer |
zero_infinity() |
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 CTCLossOptions()
public CTCLossOptions(long size)
Pointer.position(long)
.public CTCLossOptions(Pointer p)
Pointer(Pointer)
.public CTCLossOptions position(long position)
public CTCLossOptions getPointer(long i)
getPointer
in class Pointer
@Cast(value="int64_t*") @ByRef @NoException(value=true) public LongPointer blank()
@ByRef @NoException(value=true) public LossReduction reduction()
@Cast(value="bool*") @ByRef @NoException(value=true) public BoolPointer zero_infinity()
Copyright © 2024. All rights reserved.