@Generated(value="software.amazon.awssdk:codegen") public final class HyperParameterTuningInstanceConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HyperParameterTuningInstanceConfig.Builder,HyperParameterTuningInstanceConfig>
The configuration for hyperparameter tuning resources for use in training jobs launched by the tuning job. These resources include compute instances and storage volumes. Specify one or more compute instance configurations and allocation strategies to select resources (optional).
| Modifier and Type | Class and Description |
|---|---|
static interface |
HyperParameterTuningInstanceConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static HyperParameterTuningInstanceConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Integer |
instanceCount()
The number of instances of the type specified by
InstanceType. |
TrainingInstanceType |
instanceType()
The instance type used for processing of hyperparameter optimization jobs.
|
String |
instanceTypeAsString()
The instance type used for processing of hyperparameter optimization jobs.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends HyperParameterTuningInstanceConfig.Builder> |
serializableBuilderClass() |
HyperParameterTuningInstanceConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Integer |
volumeSizeInGB()
The volume size in GB of the data to be processed for hyperparameter optimization (optional).
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final TrainingInstanceType instanceType()
The instance type used for processing of hyperparameter optimization jobs. Choose from general purpose (no GPUs) instance types: ml.m5.xlarge, ml.m5.2xlarge, and ml.m5.4xlarge or compute optimized (no GPUs) instance types: ml.c5.xlarge and ml.c5.2xlarge. For more information about instance types, see instance type descriptions.
If the service returns an enum value that is not available in the current SDK version, instanceType will
return TrainingInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from instanceTypeAsString().
TrainingInstanceTypepublic final String instanceTypeAsString()
The instance type used for processing of hyperparameter optimization jobs. Choose from general purpose (no GPUs) instance types: ml.m5.xlarge, ml.m5.2xlarge, and ml.m5.4xlarge or compute optimized (no GPUs) instance types: ml.c5.xlarge and ml.c5.2xlarge. For more information about instance types, see instance type descriptions.
If the service returns an enum value that is not available in the current SDK version, instanceType will
return TrainingInstanceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available
from instanceTypeAsString().
TrainingInstanceTypepublic final Integer instanceCount()
The number of instances of the type specified by InstanceType. Choose an instance count larger than
1 for distributed training algorithms. See SageMaker distributed training jobs for more
information.
InstanceType. Choose an instance count
larger than 1 for distributed training algorithms. See SageMaker distributed training jobs for
more information.public final Integer volumeSizeInGB()
The volume size in GB of the data to be processed for hyperparameter optimization (optional).
public HyperParameterTuningInstanceConfig.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<HyperParameterTuningInstanceConfig.Builder,HyperParameterTuningInstanceConfig>public static HyperParameterTuningInstanceConfig.Builder builder()
public static Class<? extends HyperParameterTuningInstanceConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.