ModelTrainingState enum
Optional. The training state that the model is in (e.g. TRAINING or PAUSED). Since part of the cost of running the service is frequency of training - this can be used to determine when to train model in order to control cost. If not specified: the default value for CreateModel method is TRAINING. The default value for UpdateModel method is to keep the state the same as before.
Values
- trainingStateUnspecified → const ModelTrainingState
-
const ModelTrainingState("TRAINING_STATE_UNSPECIFIED") - paused → const ModelTrainingState
-
const ModelTrainingState("PAUSED") - training → const ModelTrainingState
-
const ModelTrainingState("TRAINING")
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wireValue → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromValue(
String value) → ModelTrainingState
Constants
-
values
→ const List<
ModelTrainingState> - A constant List of the values in this enum, in order of their declaration.