HyperParameters class
- Annotations
-
- @freezed
Constructors
- HyperParameters.new({@JsonKey(name: 'batch_size') String? batchSize, @JsonKey(name: 'learning_rate_multiplier') double? learningRateMultiplier, @JsonKey(name: 'n_epochs') int? nEpochs, @JsonKey(name: 'prompt_loss_weight') double? promptLossWeight})
-
constfactory
-
HyperParameters.fromJson(Map<
String, dynamic> json) -
factory
Properties
- batchSize → String?
-
no setterinherited
-
copyWith
→ $HyperParametersCopyWith<
HyperParameters> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- learningRateMultiplier → double?
-
no setterinherited
- nEpochs → int?
-
no setterinherited
- promptLossWeight → double?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited