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