@Namespace(value="nvinfer1") public static enum nvinfer.RNNDirection extends Enum<nvinfer.RNNDirection>
IRNNv2Layer
Enum Constant and Description |
---|
kBIDIRECTION
Network iterates from first to last and vice versa and outputs concatenated.
|
kUNIDIRECTION
Network iterations from first input to last input.
|
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
nvinfer.RNNDirection |
intern() |
String |
toString() |
static nvinfer.RNNDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static nvinfer.RNNDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final nvinfer.RNNDirection kUNIDIRECTION
public static final nvinfer.RNNDirection kBIDIRECTION
public static nvinfer.RNNDirection[] values()
for (nvinfer.RNNDirection c : nvinfer.RNNDirection.values()) System.out.println(c);
public static nvinfer.RNNDirection 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.RNNDirection intern()
public String toString()
toString
in class Enum<nvinfer.RNNDirection>
Copyright © 2024. All rights reserved.