public static enum TensorInfo.DataType extends Enum<TensorInfo.DataType>
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
TensorInfo.DataType |
intern() |
String |
toString() |
static TensorInfo.DataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TensorInfo.DataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TensorInfo.DataType FP16
public static final TensorInfo.DataType U8F
public static final TensorInfo.DataType INT
public static final TensorInfo.DataType FP32
public static final TensorInfo.DataType I8
public static TensorInfo.DataType[] values()
for (TensorInfo.DataType c : TensorInfo.DataType.values()) System.out.println(c);
public static TensorInfo.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 TensorInfo.DataType intern()
public String toString()
toString in class Enum<TensorInfo.DataType>Copyright © 2021. All rights reserved.