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<CheckpointConfig> for CheckpointConfig
impl PartialEq<CheckpointConfig> 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 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