@Namespace(value="torch::nn") @Properties(inherit=torch.class) public class ELUOptions extends Pointer
ELU
module.
Example:
ELU model(ELUOptions().alpha(42.42).inplace(true));
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
ELUOptions()
Default native constructor.
|
ELUOptions(long size)
Native array allocator.
|
ELUOptions(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
DoublePointer |
alpha() |
ELUOptions |
getPointer(long i) |
BoolPointer |
inplace() |
ELUOptions |
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 ELUOptions()
public ELUOptions(long size)
Pointer.position(long)
.public ELUOptions(Pointer p)
Pointer(Pointer)
.public ELUOptions position(long position)
public ELUOptions 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.