FineTuningNEpochs class sealed
The number of epochs to train the model for. An epoch refers to one full cycle through the training dataset.
"auto" decides the optimal number of epochs based on the size of the dataset. If setting the number manually, we support any number between 1 and 50 epochs.
- Implementers
- Annotations
-
- @freezed
Constructors
-
FineTuningNEpochs.fromJson(Map<
String, dynamic> json) -
Object construction from a JSON representation
factory
- FineTuningNEpochs.mode(FineTuningNEpochsOptions value)
-
The mode for the number of epochs.
constfactory
- FineTuningNEpochs.number(int value)
-
The number of epochs to train the model for.
constfactory
Properties
Methods
-
map<
TResult extends Object?> ({required TResult mode(FineTuningNEpochsEnumeration value), required TResult number(FineTuningNEpochsInt value)}) → TResult -
inherited
-
mapOrNull<
TResult extends Object?> ({TResult? mode(FineTuningNEpochsEnumeration value)?, TResult? number(FineTuningNEpochsInt value)?}) → TResult? -
inherited
-
maybeMap<
TResult extends Object?> ({TResult mode(FineTuningNEpochsEnumeration value)?, TResult number(FineTuningNEpochsInt value)?, required TResult orElse()}) → TResult -
inherited
-
maybeWhen<
TResult extends Object?> ({TResult mode(FineTuningNEpochsOptions value)?, TResult number(int value)?, required TResult orElse()}) → TResult -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this FineTuningNEpochs to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
when<
TResult extends Object?> ({required TResult mode(FineTuningNEpochsOptions value), required TResult number(int value)}) → TResult -
inherited
-
whenOrNull<
TResult extends Object?> ({TResult? mode(FineTuningNEpochsOptions value)?, TResult? number(int value)?}) → TResult? -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited