@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HyperParameterTuningInstanceConfig extends Object implements Serializable, Cloneable, StructuredPojo
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).
Constructor and Description |
---|
HyperParameterTuningInstanceConfig() |
Modifier and Type | Method and Description |
---|---|
HyperParameterTuningInstanceConfig |
clone() |
boolean |
equals(Object obj) |
Integer |
getInstanceCount()
The number of instances of the type specified by
InstanceType . |
String |
getInstanceType()
The instance type used for processing of hyperparameter optimization jobs.
|
Integer |
getVolumeSizeInGB()
The volume size in GB of the data to be processed for hyperparameter optimization (optional).
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setInstanceCount(Integer instanceCount)
The number of instances of the type specified by
InstanceType . |
void |
setInstanceType(String instanceType)
The instance type used for processing of hyperparameter optimization jobs.
|
void |
setVolumeSizeInGB(Integer volumeSizeInGB)
The volume size in GB of the data to be processed for hyperparameter optimization (optional).
|
String |
toString()
Returns a string representation of this object.
|
HyperParameterTuningInstanceConfig |
withInstanceCount(Integer instanceCount)
The number of instances of the type specified by
InstanceType . |
HyperParameterTuningInstanceConfig |
withInstanceType(String instanceType)
The instance type used for processing of hyperparameter optimization jobs.
|
HyperParameterTuningInstanceConfig |
withInstanceType(TrainingInstanceType instanceType)
The instance type used for processing of hyperparameter optimization jobs.
|
HyperParameterTuningInstanceConfig |
withVolumeSizeInGB(Integer volumeSizeInGB)
The volume size in GB of the data to be processed for hyperparameter optimization (optional).
|
public void setInstanceType(String 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.
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.TrainingInstanceType
public String getInstanceType()
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.
TrainingInstanceType
public HyperParameterTuningInstanceConfig withInstanceType(String 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.
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.TrainingInstanceType
public HyperParameterTuningInstanceConfig withInstanceType(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.
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.TrainingInstanceType
public void setInstanceCount(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
informcration.
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 informcration.public Integer getInstanceCount()
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
informcration.
InstanceType
. Choose an instance count
larger than 1 for distributed training algorithms. See SageMaker distributed training jobs for
more informcration.public HyperParameterTuningInstanceConfig withInstanceCount(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
informcration.
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 informcration.public void setVolumeSizeInGB(Integer volumeSizeInGB)
The volume size in GB of the data to be processed for hyperparameter optimization (optional).
volumeSizeInGB
- The volume size in GB of the data to be processed for hyperparameter optimization (optional).public Integer getVolumeSizeInGB()
The volume size in GB of the data to be processed for hyperparameter optimization (optional).
public HyperParameterTuningInstanceConfig withVolumeSizeInGB(Integer volumeSizeInGB)
The volume size in GB of the data to be processed for hyperparameter optimization (optional).
volumeSizeInGB
- The volume size in GB of the data to be processed for hyperparameter optimization (optional).public String toString()
toString
in class Object
Object.toString()
public HyperParameterTuningInstanceConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.