#[non_exhaustive]pub struct HyperParameterTuningInstanceConfigBuilder { /* private fields */ }
Expand description
A builder for HyperParameterTuningInstanceConfig
.
Implementations§
source§impl HyperParameterTuningInstanceConfigBuilder
impl HyperParameterTuningInstanceConfigBuilder
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
.
Trait Implementations§
source§impl Clone for HyperParameterTuningInstanceConfigBuilder
impl Clone for HyperParameterTuningInstanceConfigBuilder
source§fn clone(&self) -> HyperParameterTuningInstanceConfigBuilder
fn clone(&self) -> HyperParameterTuningInstanceConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for HyperParameterTuningInstanceConfigBuilder
impl Default for HyperParameterTuningInstanceConfigBuilder
source§fn default() -> HyperParameterTuningInstanceConfigBuilder
fn default() -> HyperParameterTuningInstanceConfigBuilder
source§impl PartialEq<HyperParameterTuningInstanceConfigBuilder> for HyperParameterTuningInstanceConfigBuilder
impl PartialEq<HyperParameterTuningInstanceConfigBuilder> for HyperParameterTuningInstanceConfigBuilder
source§fn eq(&self, other: &HyperParameterTuningInstanceConfigBuilder) -> bool
fn eq(&self, other: &HyperParameterTuningInstanceConfigBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.