@Namespace(value="nvinfer1") public static enum nvinfer.RNNOperation extends Enum<nvinfer.RNNOperation>
IRNNv2Layer| Enum Constant and Description |
|---|
kGRU
Three-gate network consisting of Gated Recurrent Units.
|
kLSTM
Four-gate LSTM network w/o peephole connections.
|
kRELU
Single gate RNN w/ ReLU activation function.
|
kTANH
Single gate RNN w/ TANH activation function.
|
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
nvinfer.RNNOperation |
intern() |
String |
toString() |
static nvinfer.RNNOperation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static nvinfer.RNNOperation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final nvinfer.RNNOperation kRELU
public static final nvinfer.RNNOperation kTANH
public static final nvinfer.RNNOperation kLSTM
public static final nvinfer.RNNOperation kGRU
public static nvinfer.RNNOperation[] values()
for (nvinfer.RNNOperation c : nvinfer.RNNOperation.values()) System.out.println(c);
public static nvinfer.RNNOperation valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic nvinfer.RNNOperation intern()
public String toString()
toString in class Enum<nvinfer.RNNOperation>Copyright © 2024. All rights reserved.