public static enum OnnxMl.TensorProto.DataLocation extends java.lang.Enum<OnnxMl.TensorProto.DataLocation> implements com.google.protobuf.ProtocolMessageEnum
Location of the data for this tensor. MUST be one of: - DEFAULT - data stored inside the protobuf message. Data is stored in raw_data (if set) otherwise in type-specified field. - EXTERNAL - data stored in an external location as described by external_data field.Protobuf enum
onnx.TensorProto.DataLocation| Enum Constant and Description |
|---|
DEFAULT
DEFAULT = 0; |
EXTERNAL
EXTERNAL = 1; |
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_VALUE
DEFAULT = 0; |
static int |
EXTERNAL_VALUE
EXTERNAL = 1; |
| Modifier and Type | Method and Description |
|---|---|
static OnnxMl.TensorProto.DataLocation |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<OnnxMl.TensorProto.DataLocation> |
internalGetValueMap() |
static OnnxMl.TensorProto.DataLocation |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static OnnxMl.TensorProto.DataLocation |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static OnnxMl.TensorProto.DataLocation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OnnxMl.TensorProto.DataLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OnnxMl.TensorProto.DataLocation DEFAULT
DEFAULT = 0;public static final OnnxMl.TensorProto.DataLocation EXTERNAL
EXTERNAL = 1;public static final int DEFAULT_VALUE
DEFAULT = 0;public static final int EXTERNAL_VALUE
EXTERNAL = 1;public static OnnxMl.TensorProto.DataLocation[] values()
for (OnnxMl.TensorProto.DataLocation c : OnnxMl.TensorProto.DataLocation.values()) System.out.println(c);
public static OnnxMl.TensorProto.DataLocation 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 final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static OnnxMl.TensorProto.DataLocation valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static OnnxMl.TensorProto.DataLocation forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<OnnxMl.TensorProto.DataLocation> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static OnnxMl.TensorProto.DataLocation valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)