public static enum OnnxMap.OnnxMapValueType extends java.lang.Enum<OnnxMap.OnnxMapValueType>
OnnxMap
.Modifier and Type | Method and Description |
---|---|
static OnnxMap.OnnxMapValueType |
mapFromInt(int value)
Gets the enum type from it's integer id.
|
static OnnxMap.OnnxMapValueType |
mapFromOnnxJavaType(OnnxJavaType type)
Maps a
OnnxJavaType into a map value type. |
static OnnxMap.OnnxMapValueType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OnnxMap.OnnxMapValueType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OnnxMap.OnnxMapValueType INVALID
public static final OnnxMap.OnnxMapValueType STRING
public static final OnnxMap.OnnxMapValueType LONG
public static final OnnxMap.OnnxMapValueType FLOAT
public static final OnnxMap.OnnxMapValueType DOUBLE
public static OnnxMap.OnnxMapValueType[] values()
for (OnnxMap.OnnxMapValueType c : OnnxMap.OnnxMapValueType.values()) System.out.println(c);
public static OnnxMap.OnnxMapValueType 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 OnnxMap.OnnxMapValueType mapFromInt(int value)
value
- The integer id.public static OnnxMap.OnnxMapValueType mapFromOnnxJavaType(OnnxJavaType type)
OnnxJavaType
into a map value type. If it's not a valid map type return INVALID
.type
- The Java type.