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