@NoOffset @Name(value="c10::variant<torch::enumtype::kLSTM,torch::enumtype::kGRU,torch::enumtype::kRNN_TANH,torch::enumtype::kRNN_RELU>") @Properties(inherit=torch.class) public class RNNBaseMode extends Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
Constructor and Description |
---|
RNNBaseMode() |
RNNBaseMode(kGRU value) |
RNNBaseMode(kLSTM value) |
RNNBaseMode(kRNN_RELU value) |
RNNBaseMode(kRNN_TANH value) |
RNNBaseMode(Pointer p)
Pointer cast constructor.
|
Modifier and Type | Method and Description |
---|---|
kLSTM |
get0() |
static kLSTM |
get0(RNNBaseMode container) |
kGRU |
get1() |
static kGRU |
get1(RNNBaseMode container) |
kRNN_TANH |
get2() |
static kRNN_TANH |
get2(RNNBaseMode container) |
kRNN_RELU |
get3() |
static kRNN_RELU |
get3(RNNBaseMode container) |
RNNBaseMode |
put(kGRU value) |
RNNBaseMode |
put(kLSTM value) |
RNNBaseMode |
put(kRNN_RELU value) |
RNNBaseMode |
put(kRNN_TANH value) |
RNNBaseMode |
put(RNNBaseMode 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 RNNBaseMode(Pointer p)
Pointer(Pointer)
.public RNNBaseMode(kLSTM value)
public RNNBaseMode(kGRU value)
public RNNBaseMode(kRNN_TANH value)
public RNNBaseMode(kRNN_RELU value)
public RNNBaseMode()
@Name(value="operator =") @ByRef public RNNBaseMode put(@ByRef RNNBaseMode x)
@Namespace @Name(value="c10::get<0>") @ByRef public static kLSTM get0(@ByRef RNNBaseMode container)
@ValueSetter public RNNBaseMode put(@ByRef kLSTM value)
@Namespace @Name(value="c10::get<1>") @ByRef public static kGRU get1(@ByRef RNNBaseMode container)
@ValueSetter public RNNBaseMode put(@ByRef kGRU value)
@Namespace @Name(value="c10::get<2>") @ByRef public static kRNN_TANH get2(@ByRef RNNBaseMode container)
@ValueSetter public RNNBaseMode put(@ByRef kRNN_TANH value)
@Namespace @Name(value="c10::get<3>") @ByRef public static kRNN_RELU get3(@ByRef RNNBaseMode container)
@ValueSetter public RNNBaseMode put(@ByRef kRNN_RELU value)
Copyright © 2024. All rights reserved.