Struct aws_sdk_sagemaker::types::ProfilerConfigForUpdate
source · #[non_exhaustive]pub struct ProfilerConfigForUpdate {
pub s3_output_path: Option<String>,
pub profiling_interval_in_milliseconds: Option<i64>,
pub profiling_parameters: Option<HashMap<String, String>>,
pub disable_profiler: bool,
}
Expand description
Configuration information for updating the Amazon SageMaker Debugger profile parameters, system and framework metrics configurations, and storage paths.
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.s3_output_path: Option<String>
Path to Amazon S3 storage location for system and framework metrics.
profiling_interval_in_milliseconds: Option<i64>
A time interval for capturing system metrics in milliseconds. Available values are 100, 200, 500, 1000 (1 second), 5000 (5 seconds), and 60000 (1 minute) milliseconds. The default value is 500 milliseconds.
profiling_parameters: Option<HashMap<String, String>>
Configuration information for capturing framework metrics. Available key strings for different profiling options are DetailedProfilingConfig
, PythonProfilingConfig
, and DataLoaderProfilingConfig
. The following codes are configuration structures for the ProfilingParameters
parameter. To learn more about how to configure the ProfilingParameters
parameter, see Use the SageMaker and Debugger Configuration API Operations to Create, Update, and Debug Your Training Job.
disable_profiler: bool
To turn off Amazon SageMaker Debugger monitoring and profiling while a training job is in progress, set to True
.
Implementations§
source§impl ProfilerConfigForUpdate
impl ProfilerConfigForUpdate
sourcepub fn s3_output_path(&self) -> Option<&str>
pub fn s3_output_path(&self) -> Option<&str>
Path to Amazon S3 storage location for system and framework metrics.
sourcepub fn profiling_interval_in_milliseconds(&self) -> Option<i64>
pub fn profiling_interval_in_milliseconds(&self) -> Option<i64>
A time interval for capturing system metrics in milliseconds. Available values are 100, 200, 500, 1000 (1 second), 5000 (5 seconds), and 60000 (1 minute) milliseconds. The default value is 500 milliseconds.
sourcepub fn profiling_parameters(&self) -> Option<&HashMap<String, String>>
pub fn profiling_parameters(&self) -> Option<&HashMap<String, String>>
Configuration information for capturing framework metrics. Available key strings for different profiling options are DetailedProfilingConfig
, PythonProfilingConfig
, and DataLoaderProfilingConfig
. The following codes are configuration structures for the ProfilingParameters
parameter. To learn more about how to configure the ProfilingParameters
parameter, see Use the SageMaker and Debugger Configuration API Operations to Create, Update, and Debug Your Training Job.
sourcepub fn disable_profiler(&self) -> bool
pub fn disable_profiler(&self) -> bool
To turn off Amazon SageMaker Debugger monitoring and profiling while a training job is in progress, set to True
.
source§impl ProfilerConfigForUpdate
impl ProfilerConfigForUpdate
sourcepub fn builder() -> ProfilerConfigForUpdateBuilder
pub fn builder() -> ProfilerConfigForUpdateBuilder
Creates a new builder-style object to manufacture ProfilerConfigForUpdate
.
Trait Implementations§
source§impl Clone for ProfilerConfigForUpdate
impl Clone for ProfilerConfigForUpdate
source§fn clone(&self) -> ProfilerConfigForUpdate
fn clone(&self) -> ProfilerConfigForUpdate
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProfilerConfigForUpdate
impl Debug for ProfilerConfigForUpdate
source§impl PartialEq<ProfilerConfigForUpdate> for ProfilerConfigForUpdate
impl PartialEq<ProfilerConfigForUpdate> for ProfilerConfigForUpdate
source§fn eq(&self, other: &ProfilerConfigForUpdate) -> bool
fn eq(&self, other: &ProfilerConfigForUpdate) -> bool
self
and other
values to be equal, and is used
by ==
.