public enum TensorCategory extends java.lang.Enum<TensorCategory>
| Enum Constant and Description |
|---|
DENSE
Tensors of this category map the entire dimension space to values.
|
RAGGED
More general than DENSE, this category relaxes the constraint that shape of every dimension is constant within a single data instance.
|
SPARSE
Tensors of this category map some subset of the dimension space to values.
|
| Modifier and Type | Method and Description |
|---|---|
static TensorCategory |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TensorCategory[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TensorCategory SPARSE
public static final TensorCategory DENSE
public static final TensorCategory RAGGED
public static TensorCategory[] values()
for (TensorCategory c : TensorCategory.values()) System.out.println(c);
public static TensorCategory 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 null