Package viam.app.mltraining.v1
Enum Class MlTraining.ModelFramework
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,Serializable
,Comparable<MlTraining.ModelFramework>
,Constable
- Enclosing class:
- MlTraining
public static enum MlTraining.ModelFramework
extends Enum<MlTraining.ModelFramework>
implements com.google.protobuf.Internal.EnumLite
Protobuf enum
viam.app.mltraining.v1.ModelFramework
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionMODEL_FRAMEWORK_ONNX = 4;
MODEL_FRAMEWORK_PYTORCH = 3;
MODEL_FRAMEWORK_TENSORFLOW = 2;
MODEL_FRAMEWORK_TFLITE = 1;
MODEL_FRAMEWORK_UNSPECIFIED = 0;
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
MODEL_FRAMEWORK_ONNX = 4;
static final int
MODEL_FRAMEWORK_PYTORCH = 3;
static final int
MODEL_FRAMEWORK_TENSORFLOW = 2;
static final int
MODEL_FRAMEWORK_TFLITE = 1;
static final int
MODEL_FRAMEWORK_UNSPECIFIED = 0;
-
Method Summary
Modifier and TypeMethodDescriptionstatic MlTraining.ModelFramework
forNumber
(int value) final int
static com.google.protobuf.Internal.EnumLiteMap<MlTraining.ModelFramework>
static com.google.protobuf.Internal.EnumVerifier
static MlTraining.ModelFramework
valueOf
(int value) Deprecated.static MlTraining.ModelFramework
Returns the enum constant of this class with the specified name.static MlTraining.ModelFramework[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
MODEL_FRAMEWORK_UNSPECIFIED
MODEL_FRAMEWORK_UNSPECIFIED = 0;
-
MODEL_FRAMEWORK_TFLITE
MODEL_FRAMEWORK_TFLITE = 1;
-
MODEL_FRAMEWORK_TENSORFLOW
MODEL_FRAMEWORK_TENSORFLOW = 2;
-
MODEL_FRAMEWORK_PYTORCH
MODEL_FRAMEWORK_PYTORCH = 3;
-
MODEL_FRAMEWORK_ONNX
MODEL_FRAMEWORK_ONNX = 4;
-
UNRECOGNIZED
-
-
Field Details
-
MODEL_FRAMEWORK_UNSPECIFIED_VALUE
public static final int MODEL_FRAMEWORK_UNSPECIFIED_VALUEMODEL_FRAMEWORK_UNSPECIFIED = 0;
- See Also:
-
MODEL_FRAMEWORK_TFLITE_VALUE
public static final int MODEL_FRAMEWORK_TFLITE_VALUEMODEL_FRAMEWORK_TFLITE = 1;
- See Also:
-
MODEL_FRAMEWORK_TENSORFLOW_VALUE
public static final int MODEL_FRAMEWORK_TENSORFLOW_VALUEMODEL_FRAMEWORK_TENSORFLOW = 2;
- See Also:
-
MODEL_FRAMEWORK_PYTORCH_VALUE
public static final int MODEL_FRAMEWORK_PYTORCH_VALUEMODEL_FRAMEWORK_PYTORCH = 3;
- See Also:
-
MODEL_FRAMEWORK_ONNX_VALUE
public static final int MODEL_FRAMEWORK_ONNX_VALUEMODEL_FRAMEWORK_ONNX = 4;
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<MlTraining.ModelFramework> internalGetValueMap() -
internalGetVerifier
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()
-