public static enum OnnxMlProto3.AttributeProto.AttributeType extends Enum<OnnxMlProto3.AttributeProto.AttributeType> implements com.github.os72.protobuf351.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 OnnxMlProto3.AttributeProto.AttributeType |
forNumber(int value) |
static com.github.os72.protobuf351.Descriptors.EnumDescriptor |
getDescriptor() |
com.github.os72.protobuf351.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.github.os72.protobuf351.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.github.os72.protobuf351.Internal.EnumLiteMap<OnnxMlProto3.AttributeProto.AttributeType> |
internalGetValueMap() |
static OnnxMlProto3.AttributeProto.AttributeType |
valueOf(com.github.os72.protobuf351.Descriptors.EnumValueDescriptor desc) |
static OnnxMlProto3.AttributeProto.AttributeType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static OnnxMlProto3.AttributeProto.AttributeType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OnnxMlProto3.AttributeProto.AttributeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OnnxMlProto3.AttributeProto.AttributeType UNDEFINED
UNDEFINED = 0;
public static final OnnxMlProto3.AttributeProto.AttributeType FLOAT
FLOAT = 1;
public static final OnnxMlProto3.AttributeProto.AttributeType INT
INT = 2;
public static final OnnxMlProto3.AttributeProto.AttributeType STRING
STRING = 3;
public static final OnnxMlProto3.AttributeProto.AttributeType TENSOR
TENSOR = 4;
public static final OnnxMlProto3.AttributeProto.AttributeType GRAPH
GRAPH = 5;
public static final OnnxMlProto3.AttributeProto.AttributeType FLOATS
FLOATS = 6;
public static final OnnxMlProto3.AttributeProto.AttributeType INTS
INTS = 7;
public static final OnnxMlProto3.AttributeProto.AttributeType STRINGS
STRINGS = 8;
public static final OnnxMlProto3.AttributeProto.AttributeType TENSORS
TENSORS = 9;
public static final OnnxMlProto3.AttributeProto.AttributeType GRAPHS
GRAPHS = 10;
public static final OnnxMlProto3.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 OnnxMlProto3.AttributeProto.AttributeType[] values()
for (OnnxMlProto3.AttributeProto.AttributeType c : OnnxMlProto3.AttributeProto.AttributeType.values()) System.out.println(c);
public static OnnxMlProto3.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 com.github.os72.protobuf351.Internal.EnumLite
getNumber
in interface com.github.os72.protobuf351.ProtocolMessageEnum
@Deprecated public static OnnxMlProto3.AttributeProto.AttributeType valueOf(int value)
forNumber(int)
instead.public static OnnxMlProto3.AttributeProto.AttributeType forNumber(int value)
public static com.github.os72.protobuf351.Internal.EnumLiteMap<OnnxMlProto3.AttributeProto.AttributeType> internalGetValueMap()
public final com.github.os72.protobuf351.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.github.os72.protobuf351.ProtocolMessageEnum
public final com.github.os72.protobuf351.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.github.os72.protobuf351.ProtocolMessageEnum
public static final com.github.os72.protobuf351.Descriptors.EnumDescriptor getDescriptor()
public static OnnxMlProto3.AttributeProto.AttributeType valueOf(com.github.os72.protobuf351.Descriptors.EnumValueDescriptor desc)
Copyright © 2019. All rights reserved.