public static enum Onnx.AttributeProto.AttributeType extends Enum<Onnx.AttributeProto.AttributeType> implements org.nd4j.shade.protobuf.ProtocolMessageEnum
Note: this enum is structurally identical to the OpSchema::AttrType enum defined in schema.h. If you rev one, you likely need to rev the other.Protobuf enum
onnx.AttributeProto.AttributeType
Enum Constant and Description |
---|
FLOAT
FLOAT = 1; |
FLOATS
FLOATS = 6; |
GRAPH
GRAPH = 5; |
GRAPHS
GRAPHS = 10; |
INT
INT = 2; |
INTS
INTS = 7; |
STRING
STRING = 3; |
STRINGS
STRINGS = 8; |
TENSOR
TENSOR = 4; |
TENSORS
TENSORS = 9; |
UNDEFINED
UNDEFINED = 0; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
FLOAT_VALUE
FLOAT = 1; |
static int |
FLOATS_VALUE
FLOATS = 6; |
static int |
GRAPH_VALUE
GRAPH = 5; |
static int |
GRAPHS_VALUE
GRAPHS = 10; |
static int |
INT_VALUE
INT = 2; |
static int |
INTS_VALUE
INTS = 7; |
static int |
STRING_VALUE
STRING = 3; |
static int |
STRINGS_VALUE
STRINGS = 8; |
static int |
TENSOR_VALUE
TENSOR = 4; |
static int |
TENSORS_VALUE
TENSORS = 9; |
static int |
UNDEFINED_VALUE
UNDEFINED = 0; |
Modifier and Type | Method and Description |
---|---|
static Onnx.AttributeProto.AttributeType |
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<Onnx.AttributeProto.AttributeType> |
internalGetValueMap() |
static Onnx.AttributeProto.AttributeType |
valueOf(org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptor desc) |
static Onnx.AttributeProto.AttributeType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Onnx.AttributeProto.AttributeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Onnx.AttributeProto.AttributeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Onnx.AttributeProto.AttributeType UNDEFINED
UNDEFINED = 0;
public static final Onnx.AttributeProto.AttributeType FLOAT
FLOAT = 1;
public static final Onnx.AttributeProto.AttributeType INT
INT = 2;
public static final Onnx.AttributeProto.AttributeType STRING
STRING = 3;
public static final Onnx.AttributeProto.AttributeType TENSOR
TENSOR = 4;
public static final Onnx.AttributeProto.AttributeType GRAPH
GRAPH = 5;
public static final Onnx.AttributeProto.AttributeType FLOATS
FLOATS = 6;
public static final Onnx.AttributeProto.AttributeType INTS
INTS = 7;
public static final Onnx.AttributeProto.AttributeType STRINGS
STRINGS = 8;
public static final Onnx.AttributeProto.AttributeType TENSORS
TENSORS = 9;
public static final Onnx.AttributeProto.AttributeType GRAPHS
GRAPHS = 10;
public static final Onnx.AttributeProto.AttributeType UNRECOGNIZED
public static final int UNDEFINED_VALUE
UNDEFINED = 0;
public static final int FLOAT_VALUE
FLOAT = 1;
public static final int INT_VALUE
INT = 2;
public static final int STRING_VALUE
STRING = 3;
public static final int TENSOR_VALUE
TENSOR = 4;
public static final int GRAPH_VALUE
GRAPH = 5;
public static final int FLOATS_VALUE
FLOATS = 6;
public static final int INTS_VALUE
INTS = 7;
public static final int STRINGS_VALUE
STRINGS = 8;
public static final int TENSORS_VALUE
TENSORS = 9;
public static final int GRAPHS_VALUE
GRAPHS = 10;
public static Onnx.AttributeProto.AttributeType[] values()
for (Onnx.AttributeProto.AttributeType c : Onnx.AttributeProto.AttributeType.values()) System.out.println(c);
public static Onnx.AttributeProto.AttributeType 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.EnumLite
getNumber
in interface org.nd4j.shade.protobuf.ProtocolMessageEnum
@Deprecated public static Onnx.AttributeProto.AttributeType valueOf(int value)
forNumber(int)
instead.public static Onnx.AttributeProto.AttributeType forNumber(int value)
public static org.nd4j.shade.protobuf.Internal.EnumLiteMap<Onnx.AttributeProto.AttributeType> internalGetValueMap()
public final org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface org.nd4j.shade.protobuf.ProtocolMessageEnum
public final org.nd4j.shade.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface org.nd4j.shade.protobuf.ProtocolMessageEnum
public static final org.nd4j.shade.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static Onnx.AttributeProto.AttributeType valueOf(org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019. All rights reserved.