public static enum TensorInfo.OnnxTensorType extends java.lang.Enum<TensorInfo.OnnxTensorType>
Modifier and Type | Field and Description |
---|---|
int |
value
The int id on the native side.
|
Modifier and Type | Method and Description |
---|---|
static TensorInfo.OnnxTensorType |
mapFromInt(int value)
Maps from the C API's int enum to the Java enum.
|
static TensorInfo.OnnxTensorType |
mapFromJavaType(OnnxJavaType type)
Maps a OnnxJavaType into the appropriate native element type.
|
static TensorInfo.OnnxTensorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TensorInfo.OnnxTensorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TensorInfo.OnnxTensorType ONNX_TENSOR_ELEMENT_DATA_TYPE_UNDEFINED
public static final TensorInfo.OnnxTensorType ONNX_TENSOR_ELEMENT_DATA_TYPE_UINT8
public static final TensorInfo.OnnxTensorType ONNX_TENSOR_ELEMENT_DATA_TYPE_INT8
public static final TensorInfo.OnnxTensorType ONNX_TENSOR_ELEMENT_DATA_TYPE_UINT16
public static final TensorInfo.OnnxTensorType ONNX_TENSOR_ELEMENT_DATA_TYPE_INT16
public static final TensorInfo.OnnxTensorType ONNX_TENSOR_ELEMENT_DATA_TYPE_UINT32
public static final TensorInfo.OnnxTensorType ONNX_TENSOR_ELEMENT_DATA_TYPE_INT32
public static final TensorInfo.OnnxTensorType ONNX_TENSOR_ELEMENT_DATA_TYPE_UINT64
public static final TensorInfo.OnnxTensorType ONNX_TENSOR_ELEMENT_DATA_TYPE_INT64
public static final TensorInfo.OnnxTensorType ONNX_TENSOR_ELEMENT_DATA_TYPE_FLOAT16
public static final TensorInfo.OnnxTensorType ONNX_TENSOR_ELEMENT_DATA_TYPE_FLOAT
public static final TensorInfo.OnnxTensorType ONNX_TENSOR_ELEMENT_DATA_TYPE_DOUBLE
public static final TensorInfo.OnnxTensorType ONNX_TENSOR_ELEMENT_DATA_TYPE_STRING
public static final TensorInfo.OnnxTensorType ONNX_TENSOR_ELEMENT_DATA_TYPE_BOOL
public static final TensorInfo.OnnxTensorType ONNX_TENSOR_ELEMENT_DATA_TYPE_COMPLEX64
public static final TensorInfo.OnnxTensorType ONNX_TENSOR_ELEMENT_DATA_TYPE_COMPLEX128
public static final TensorInfo.OnnxTensorType ONNX_TENSOR_ELEMENT_DATA_TYPE_BFLOAT16
public static TensorInfo.OnnxTensorType[] values()
for (TensorInfo.OnnxTensorType c : TensorInfo.OnnxTensorType.values()) System.out.println(c);
public static TensorInfo.OnnxTensorType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static TensorInfo.OnnxTensorType mapFromInt(int value)
value
- The index of the Java enum.public static TensorInfo.OnnxTensorType mapFromJavaType(OnnxJavaType type)
type
- The type of the Java input/output.