@NoOffset @Name(value="c10::variant<torch::enumtype::kTanh,torch::enumtype::kReLU>") @Properties(inherit=torch.class) public class RNNNonlinearity extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
RNNNonlinearity() |
RNNNonlinearity(kReLU value) |
RNNNonlinearity(kTanh value) |
RNNNonlinearity(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
kTanh |
get0() |
static kTanh |
get0(RNNNonlinearity container) |
kReLU |
get1() |
static kReLU |
get1(RNNNonlinearity container) |
RNNNonlinearity |
put(kReLU value) |
RNNNonlinearity |
put(kTanh value) |
RNNNonlinearity |
put(RNNNonlinearity x) |
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
public RNNNonlinearity(Pointer p)
Pointer(Pointer)
.public RNNNonlinearity(kTanh value)
public RNNNonlinearity(kReLU value)
public RNNNonlinearity()
@Name(value="operator =") @ByRef public RNNNonlinearity put(@ByRef RNNNonlinearity x)
@Namespace @Name(value="c10::get<0>") @ByRef public static kTanh get0(@ByRef RNNNonlinearity container)
@ValueSetter public RNNNonlinearity put(@ByRef kTanh value)
@Namespace @Name(value="c10::get<1>") @ByRef public static kReLU get1(@ByRef RNNNonlinearity container)
@ValueSetter public RNNNonlinearity put(@ByRef kReLU value)
Copyright © 2024. All rights reserved.