@Namespace(value="nvinfer1") public static enum nvinfer.DataType extends Enum<nvinfer.DataType>
| Enum Constant and Description |
|---|
kBOOL
8-bit boolean.
|
kFLOAT
32-bit floating point format.
|
kHALF
IEEE 16-bit floating-point format.
|
kINT32
Signed 32-bit integer format.
|
kINT8
8-bit integer representing a quantized floating-point value.
|
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
nvinfer.DataType |
intern() |
String |
toString() |
static nvinfer.DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static nvinfer.DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final nvinfer.DataType kFLOAT
public static final nvinfer.DataType kHALF
public static final nvinfer.DataType kINT8
public static final nvinfer.DataType kINT32
public static final nvinfer.DataType kBOOL
public static nvinfer.DataType[] values()
for (nvinfer.DataType c : nvinfer.DataType.values()) System.out.println(c);
public static nvinfer.DataType 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.DataType intern()
public String toString()
toString in class Enum<nvinfer.DataType>Copyright © 2022. All rights reserved.