pub struct Builder { /* private fields */ }
Expand description
A builder for HyperParameterTuningInstanceConfig
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn instance_type(self, input: TrainingInstanceType) -> Self
pub fn instance_type(self, input: TrainingInstanceType) -> Self
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.
sourcepub fn set_instance_type(self, input: Option<TrainingInstanceType>) -> Self
pub fn set_instance_type(self, input: Option<TrainingInstanceType>) -> Self
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.
sourcepub fn instance_count(self, input: i32) -> Self
pub fn instance_count(self, input: i32) -> Self
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.
sourcepub fn set_instance_count(self, input: Option<i32>) -> Self
pub fn set_instance_count(self, input: Option<i32>) -> Self
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.
sourcepub fn volume_size_in_gb(self, input: i32) -> Self
pub fn volume_size_in_gb(self, input: i32) -> Self
The volume size in GB of the data to be processed for hyperparameter optimization (optional).
sourcepub fn set_volume_size_in_gb(self, input: Option<i32>) -> Self
pub fn set_volume_size_in_gb(self, input: Option<i32>) -> Self
The volume size in GB of the data to be processed for hyperparameter optimization (optional).
sourcepub fn build(self) -> HyperParameterTuningInstanceConfig
pub fn build(self) -> HyperParameterTuningInstanceConfig
Consumes the builder and constructs a HyperParameterTuningInstanceConfig
.