Package onnx
Enum OnnxMl.TensorShapeProto.Dimension.ValueCase
- java.lang.Object
-
- java.lang.Enum<OnnxMl.TensorShapeProto.Dimension.ValueCase>
-
- onnx.OnnxMl.TensorShapeProto.Dimension.ValueCase
-
- All Implemented Interfaces:
Serializable
,Comparable<OnnxMl.TensorShapeProto.Dimension.ValueCase>
,org.nd4j.shade.protobuf.Internal.EnumLite
- Enclosing class:
- OnnxMl.TensorShapeProto.Dimension
public static enum OnnxMl.TensorShapeProto.Dimension.ValueCase extends Enum<OnnxMl.TensorShapeProto.Dimension.ValueCase> implements org.nd4j.shade.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIM_PARAM
DIM_VALUE
VALUE_NOT_SET
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static OnnxMl.TensorShapeProto.Dimension.ValueCase
forNumber(int value)
int
getNumber()
static OnnxMl.TensorShapeProto.Dimension.ValueCase
valueOf(int value)
Deprecated.static OnnxMl.TensorShapeProto.Dimension.ValueCase
valueOf(String name)
Returns the enum constant of this type with the specified name.static OnnxMl.TensorShapeProto.Dimension.ValueCase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DIM_VALUE
public static final OnnxMl.TensorShapeProto.Dimension.ValueCase DIM_VALUE
-
DIM_PARAM
public static final OnnxMl.TensorShapeProto.Dimension.ValueCase DIM_PARAM
-
VALUE_NOT_SET
public static final OnnxMl.TensorShapeProto.Dimension.ValueCase VALUE_NOT_SET
-
-
Method Detail
-
values
public static OnnxMl.TensorShapeProto.Dimension.ValueCase[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OnnxMl.TensorShapeProto.Dimension.ValueCase c : OnnxMl.TensorShapeProto.Dimension.ValueCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OnnxMl.TensorShapeProto.Dimension.ValueCase valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
valueOf
@Deprecated public static OnnxMl.TensorShapeProto.Dimension.ValueCase valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static OnnxMl.TensorShapeProto.Dimension.ValueCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumber
in interfaceorg.nd4j.shade.protobuf.Internal.EnumLite
-
-