Struct aws_sdk_sagemaker::types::CheckpointConfig
source · #[non_exhaustive]pub struct CheckpointConfig {
pub s3_uri: Option<String>,
pub local_path: Option<String>,
}
Expand description
Contains information about the output location for managed spot training checkpoint data.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.s3_uri: Option<String>
Identifies the S3 path where you want SageMaker to store checkpoints. For example, s3://bucket-name/key-name-prefix
.
local_path: Option<String>
(Optional) The local directory where checkpoints are written. The default directory is /opt/ml/checkpoints/
.
Implementations§
source§impl CheckpointConfig
impl CheckpointConfig
sourcepub fn s3_uri(&self) -> Option<&str>
pub fn s3_uri(&self) -> Option<&str>
Identifies the S3 path where you want SageMaker to store checkpoints. For example, s3://bucket-name/key-name-prefix
.
sourcepub fn local_path(&self) -> Option<&str>
pub fn local_path(&self) -> Option<&str>
(Optional) The local directory where checkpoints are written. The default directory is /opt/ml/checkpoints/
.
source§impl CheckpointConfig
impl CheckpointConfig
sourcepub fn builder() -> CheckpointConfigBuilder
pub fn builder() -> CheckpointConfigBuilder
Creates a new builder-style object to manufacture CheckpointConfig
.
Trait Implementations§
source§impl Clone for CheckpointConfig
impl Clone for CheckpointConfig
source§fn clone(&self) -> CheckpointConfig
fn clone(&self) -> CheckpointConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for CheckpointConfig
impl Debug for CheckpointConfig
source§impl PartialEq for CheckpointConfig
impl PartialEq for CheckpointConfig
source§fn eq(&self, other: &CheckpointConfig) -> bool
fn eq(&self, other: &CheckpointConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CheckpointConfig
Auto Trait Implementations§
impl Freeze for CheckpointConfig
impl RefUnwindSafe for CheckpointConfig
impl Send for CheckpointConfig
impl Sync for CheckpointConfig
impl Unpin for CheckpointConfig
impl UnwindSafe for CheckpointConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.