pub struct CheckpointConfig {
pub local_path: Option<String>,
pub s3_uri: String,
}
Expand description
Contains information about the output location for managed spot training checkpoint data.
Fields§
§local_path: Option<String>
(Optional) The local directory where checkpoints are written. The default directory is /opt/ml/checkpoints/
.
s3_uri: String
Identifies the S3 path where you want Amazon SageMaker to store checkpoints. For example, s3://bucket-name/key-name-prefix
.
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 Default for CheckpointConfig
impl Default for CheckpointConfig
Source§fn default() -> CheckpointConfig
fn default() -> CheckpointConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CheckpointConfig
impl<'de> Deserialize<'de> for CheckpointConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CheckpointConfig
impl PartialEq for CheckpointConfig
Source§impl Serialize for CheckpointConfig
impl Serialize for CheckpointConfig
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