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