Struct aws_sdk_sagemaker::model::TrainingSpecification
source · [−]#[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
sourceimpl TrainingSpecification
impl TrainingSpecification
sourcepub fn training_image(&self) -> Option<&str>
pub fn training_image(&self) -> Option<&str>
The Amazon ECR registry path of the Docker image that contains the training algorithm.
sourcepub fn training_image_digest(&self) -> Option<&str>
pub fn training_image_digest(&self) -> Option<&str>
An MD5 hash of the training algorithm that identifies the Docker image used for training.
sourcepub fn supported_hyper_parameters(
&self
) -> Option<&[HyperParameterSpecification]>
pub fn supported_hyper_parameters(
&self
) -> Option<&[HyperParameterSpecification]>
A list of the HyperParameterSpecification
objects, that define the supported hyperparameters. This is required if the algorithm supports automatic model tuning.>
sourcepub fn supported_training_instance_types(
&self
) -> Option<&[TrainingInstanceType]>
pub fn supported_training_instance_types(
&self
) -> Option<&[TrainingInstanceType]>
A list of the instance types that this algorithm can use for training.
sourcepub fn supports_distributed_training(&self) -> bool
pub fn supports_distributed_training(&self) -> bool
Indicates whether the algorithm supports distributed training. If set to false, buyers can't request more than one instance during training.
sourcepub fn metric_definitions(&self) -> Option<&[MetricDefinition]>
pub fn metric_definitions(&self) -> Option<&[MetricDefinition]>
A list of MetricDefinition
objects, which are used for parsing metrics generated by the algorithm.
sourcepub fn training_channels(&self) -> Option<&[ChannelSpecification]>
pub fn training_channels(&self) -> Option<&[ChannelSpecification]>
A list of ChannelSpecification
objects, which specify the input sources to be used by the algorithm.
sourcepub 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.
sourceimpl TrainingSpecification
impl TrainingSpecification
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TrainingSpecification
Trait Implementations
sourceimpl Clone for TrainingSpecification
impl Clone for TrainingSpecification
sourcefn clone(&self) -> TrainingSpecification
fn clone(&self) -> TrainingSpecification
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for TrainingSpecification
impl Debug for TrainingSpecification
sourceimpl PartialEq<TrainingSpecification> for TrainingSpecification
impl PartialEq<TrainingSpecification> for TrainingSpecification
sourcefn eq(&self, other: &TrainingSpecification) -> bool
fn eq(&self, other: &TrainingSpecification) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TrainingSpecification) -> bool
fn ne(&self, other: &TrainingSpecification) -> bool
This method tests for !=
.
impl StructuralPartialEq for TrainingSpecification
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more