TrainingJobResourceConfig class
Constructors
-
TrainingJobResourceConfig({Input<
int?> ? instanceCount, Input<List< ? instanceGroups, Input<TrainingJobResourceConfigInstanceGroup> ?>TrainingJobResourceConfigInstancePlacementConfig?> ? instancePlacementConfig, Input<String?> ? instanceType, Input<int?> ? keepAlivePeriodInSeconds, Input<String?> ? trainingPlanArn, Input<String?> ? volumeKmsKeyId, Input<int?> ? volumeSizeInGb}) -
Creates a new TrainingJobResourceConfig.
instanceCountNumber of ML compute instances to use. Conflicts withinstanceGroups.instanceGroupsList of instance groups for heterogeneous cluster training. Maximum of 5. Conflicts withinstanceCount,instanceType, andkeepAlivePeriodInSeconds. SeeinstanceGroupsbelow.instancePlacementConfigInstance placement configuration. SeeinstancePlacementConfigbelow.instanceTypeML compute instance type. Conflicts withinstanceGroups.keepAlivePeriodInSecondsTime in seconds to keep instances alive after training completes, for warm pool reuse. Valid values: 0–3600. Conflicts withinstanceGroups.trainingPlanArnARN of the training plan to use.volumeKmsKeyIdKMS key ID used to encrypt data on the storage volume.volumeSizeInGbSize of the storage volume attached to each instance, in GB.const -
TrainingJobResourceConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
instanceCount
→ Input<
int?> ? -
Number of ML compute instances to use. Conflicts with
instanceGroups.final -
instanceGroups
→ Input<
List< ?TrainingJobResourceConfigInstanceGroup> ?> -
List of instance groups for heterogeneous cluster training. Maximum of 5. Conflicts with
instanceCount,instanceType, andkeepAlivePeriodInSeconds. SeeinstanceGroupsbelow.final -
instancePlacementConfig
→ Input<
TrainingJobResourceConfigInstancePlacementConfig?> ? -
Instance placement configuration. See
instancePlacementConfigbelow.final -
instanceType
→ Input<
String?> ? -
ML compute instance type. Conflicts with
instanceGroups.final -
keepAlivePeriodInSeconds
→ Input<
int?> ? -
Time in seconds to keep instances alive after training completes, for warm pool reuse. Valid values: 0–3600. Conflicts with
instanceGroups.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
trainingPlanArn
→ Input<
String?> ? -
ARN of the training plan to use.
final
-
volumeKmsKeyId
→ Input<
String?> ? -
KMS key ID used to encrypt data on the storage volume.
final
-
volumeSizeInGb
→ Input<
int?> ? -
Size of the storage volume attached to each instance, in GB.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited