public static enum TensorNamespace.TensorProto.DataLocation extends Enum<TensorNamespace.TensorProto.DataLocation> implements org.nd4j.shade.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
org.nd4j.ir.TensorProto.DataLocation| Enum Constant and Description |
|---|
DEFAULT
DEFAULT = 0; |
EXTERNAL
EXTERNAL = 1; |
UNRECOGNIZED |
| 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 TensorNamespace.TensorProto.DataLocation |
forNumber(int value) |
static org.nd4j.shade.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
org.nd4j.shade.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static org.nd4j.shade.protobuf.Internal.EnumLiteMap<TensorNamespace.TensorProto.DataLocation> |
internalGetValueMap() |
static TensorNamespace.TensorProto.DataLocation |
valueOf(org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptor desc) |
static TensorNamespace.TensorProto.DataLocation |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TensorNamespace.TensorProto.DataLocation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TensorNamespace.TensorProto.DataLocation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TensorNamespace.TensorProto.DataLocation DEFAULT
DEFAULT = 0;public static final TensorNamespace.TensorProto.DataLocation EXTERNAL
EXTERNAL = 1;public static final TensorNamespace.TensorProto.DataLocation UNRECOGNIZED
public static final int DEFAULT_VALUE
DEFAULT = 0;public static final int EXTERNAL_VALUE
EXTERNAL = 1;public static TensorNamespace.TensorProto.DataLocation[] values()
for (TensorNamespace.TensorProto.DataLocation c : TensorNamespace.TensorProto.DataLocation.values()) System.out.println(c);
public static TensorNamespace.TensorProto.DataLocation 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 final int getNumber()
getNumber in interface org.nd4j.shade.protobuf.Internal.EnumLitegetNumber in interface org.nd4j.shade.protobuf.ProtocolMessageEnum@Deprecated public static TensorNamespace.TensorProto.DataLocation valueOf(int value)
forNumber(int) instead.public static TensorNamespace.TensorProto.DataLocation forNumber(int value)
public static org.nd4j.shade.protobuf.Internal.EnumLiteMap<TensorNamespace.TensorProto.DataLocation> internalGetValueMap()
public final org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface org.nd4j.shade.protobuf.ProtocolMessageEnumpublic final org.nd4j.shade.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface org.nd4j.shade.protobuf.ProtocolMessageEnumpublic static final org.nd4j.shade.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static TensorNamespace.TensorProto.DataLocation valueOf(org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2021. All rights reserved.