public static enum TensorInfo.EncodingCase extends Enum<TensorInfo.EncodingCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
COO_SPARSE |
ENCODING_NOT_SET |
NAME |
| Modifier and Type | Method and Description |
|---|---|
static TensorInfo.EncodingCase |
forNumber(int value) |
int |
getNumber() |
static TensorInfo.EncodingCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TensorInfo.EncodingCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TensorInfo.EncodingCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TensorInfo.EncodingCase NAME
public static final TensorInfo.EncodingCase COO_SPARSE
public static final TensorInfo.EncodingCase ENCODING_NOT_SET
public static TensorInfo.EncodingCase[] values()
for (TensorInfo.EncodingCase c : TensorInfo.EncodingCase.values()) System.out.println(c);
public static TensorInfo.EncodingCase 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 null@Deprecated public static TensorInfo.EncodingCase valueOf(int value)
forNumber(int) instead.public static TensorInfo.EncodingCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2015–2019. All rights reserved.