public static enum memory.data_type extends Enum<memory.data_type>
| Enum Constant and Description |
|---|
bf16
non-standard 16-bit floating point with 7-bit mantissa.
|
f16
16-bit/half-precision floating point.
|
f32
32-bit/single-precision floating point.
|
s32
32-bit signed integer.
|
s8
8-bit signed integer.
|
u8
8-bit unsigned integer.
|
undef
Undefined data type (used for empty memory descriptors).
|
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
memory.data_type |
intern() |
String |
toString() |
static memory.data_type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static memory.data_type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final memory.data_type undef
public static final memory.data_type f16
public static final memory.data_type bf16
public static final memory.data_type f32
public static final memory.data_type s32
public static final memory.data_type s8
public static final memory.data_type u8
public static memory.data_type[] values()
for (memory.data_type c : memory.data_type.values()) System.out.println(c);
public static memory.data_type 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 memory.data_type intern()
public String toString()
toString in class Enum<memory.data_type>Copyright © 2020. All rights reserved.