Struct aws_sdk_sagemaker::model::TrainingSpecification [−][src]
#[non_exhaustive]pub struct TrainingSpecification {
pub training_image: Option<String>,
pub training_image_digest: Option<String>,
pub supported_hyper_parameters: Option<Vec<HyperParameterSpecification>>,
pub supported_training_instance_types: Option<Vec<TrainingInstanceType>>,
pub supports_distributed_training: bool,
pub metric_definitions: Option<Vec<MetricDefinition>>,
pub training_channels: Option<Vec<ChannelSpecification>>,
pub supported_tuning_job_objective_metrics: Option<Vec<HyperParameterTuningJobObjective>>,
}
Expand description
Defines how the algorithm is used for a training job.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.training_image: Option<String>
The Amazon ECR registry path of the Docker image that contains the training algorithm.
training_image_digest: Option<String>
An MD5 hash of the training algorithm that identifies the Docker image used for training.
supported_hyper_parameters: Option<Vec<HyperParameterSpecification>>
A list of the HyperParameterSpecification
objects, that define the
supported hyperparameters. This is required if the algorithm supports automatic model
tuning.>
supported_training_instance_types: Option<Vec<TrainingInstanceType>>
A list of the instance types that this algorithm can use for training.
supports_distributed_training: bool
Indicates whether the algorithm supports distributed training. If set to false, buyers can't request more than one instance during training.
metric_definitions: Option<Vec<MetricDefinition>>
A list of MetricDefinition
objects, which are used for parsing metrics
generated by the algorithm.
training_channels: Option<Vec<ChannelSpecification>>
A list of ChannelSpecification
objects, which specify the input sources
to be used by the algorithm.
supported_tuning_job_objective_metrics: Option<Vec<HyperParameterTuningJobObjective>>
A list of the metrics that the algorithm emits that can be used as the objective metric in a hyperparameter tuning job.
Implementations
The Amazon ECR registry path of the Docker image that contains the training algorithm.
An MD5 hash of the training algorithm that identifies the Docker image used for training.
A list of the HyperParameterSpecification
objects, that define the
supported hyperparameters. This is required if the algorithm supports automatic model
tuning.>
A list of the instance types that this algorithm can use for training.
Indicates whether the algorithm supports distributed training. If set to false, buyers can't request more than one instance during training.
A list of MetricDefinition
objects, which are used for parsing metrics
generated by the algorithm.
A list of ChannelSpecification
objects, which specify the input sources
to be used by the algorithm.
pub fn supported_tuning_job_objective_metrics(
&self
) -> Option<&[HyperParameterTuningJobObjective]>
pub fn supported_tuning_job_objective_metrics(
&self
) -> Option<&[HyperParameterTuningJobObjective]>
A list of the metrics that the algorithm emits that can be used as the objective metric in a hyperparameter tuning job.
Creates a new builder-style object to manufacture TrainingSpecification
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for TrainingSpecification
impl Send for TrainingSpecification
impl Sync for TrainingSpecification
impl Unpin for TrainingSpecification
impl UnwindSafe for TrainingSpecification
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more