@Namespace(value="nvinfer1") public static enum nvinfer.TensorIOMode extends Enum<nvinfer.TensorIOMode>
Enum Constant and Description |
---|
kINPUT
Tensor is input to the engine.
|
kNONE
Tensor is not an input or output.
|
kOUTPUT
Tensor is output by the engine.
|
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
nvinfer.TensorIOMode |
intern() |
String |
toString() |
static nvinfer.TensorIOMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static nvinfer.TensorIOMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final nvinfer.TensorIOMode kNONE
public static final nvinfer.TensorIOMode kINPUT
public static final nvinfer.TensorIOMode kOUTPUT
public static nvinfer.TensorIOMode[] values()
for (nvinfer.TensorIOMode c : nvinfer.TensorIOMode.values()) System.out.println(c);
public static nvinfer.TensorIOMode 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.TensorIOMode intern()
public String toString()
toString
in class Enum<nvinfer.TensorIOMode>
Copyright © 2024. All rights reserved.