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