@Namespace(value="nvinfer1") public static enum nvinfer.RNNGateType extends Enum<nvinfer.RNNGateType>
nvinfer.RNNOperation
Enum Constant and Description |
---|
kCELL
Cell gate (c).
|
kFORGET
Forget gate (f).
|
kHIDDEN
Hidden gate (h).
|
kINPUT
Input gate (i).
|
kOUTPUT
Output gate (o).
|
kRESET
Reset gate (r).
|
kUPDATE
Update gate (z).
|
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
nvinfer.RNNGateType |
intern() |
String |
toString() |
static nvinfer.RNNGateType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static nvinfer.RNNGateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final nvinfer.RNNGateType kINPUT
public static final nvinfer.RNNGateType kOUTPUT
public static final nvinfer.RNNGateType kFORGET
public static final nvinfer.RNNGateType kUPDATE
public static final nvinfer.RNNGateType kRESET
public static final nvinfer.RNNGateType kCELL
public static final nvinfer.RNNGateType kHIDDEN
public static nvinfer.RNNGateType[] values()
for (nvinfer.RNNGateType c : nvinfer.RNNGateType.values()) System.out.println(c);
public static nvinfer.RNNGateType 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.RNNGateType intern()
public String toString()
toString
in class Enum<nvinfer.RNNGateType>
Copyright © 2024. All rights reserved.