public static enum memory.format_kind extends Enum<memory.format_kind>
| Enum Constant and Description |
|---|
any
Unspecified format kind.
|
blocked
A tensor in a generic format described by the stride and blocking
values in each dimension.
|
packed
Packed weights format used in RNN.
|
undef
Undefined memory format kind, used for empty memory descriptors.
|
wino
Weights format used in 8-bit Winograd convolution.
|
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
memory.format_kind |
intern() |
String |
toString() |
static memory.format_kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static memory.format_kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final memory.format_kind undef
public static final memory.format_kind any
public static final memory.format_kind blocked
public static final memory.format_kind wino
public static final memory.format_kind packed
public static memory.format_kind[] values()
for (memory.format_kind c : memory.format_kind.values()) System.out.println(c);
public static memory.format_kind 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.format_kind intern()
public String toString()
toString in class Enum<memory.format_kind>Copyright © 2020. All rights reserved.