Struct aws_sdk_sagemaker::types::ProfilerConfig
source · #[non_exhaustive]pub struct ProfilerConfig {
pub s3_output_path: Option<String>,
pub profiling_interval_in_milliseconds: Option<i64>,
pub profiling_parameters: Option<HashMap<String, String>>,
pub disable_profiler: Option<bool>,
}
Expand description
Configuration information for Amazon SageMaker Debugger system monitoring, framework profiling, 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: Option<bool>
Configuration to turn off Amazon SageMaker Debugger's system monitoring and profiling functionality. To turn it off, set to True
.
Implementations§
source§impl ProfilerConfig
impl ProfilerConfig
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) -> Option<bool>
pub fn disable_profiler(&self) -> Option<bool>
Configuration to turn off Amazon SageMaker Debugger's system monitoring and profiling functionality. To turn it off, set to True
.
source§impl ProfilerConfig
impl ProfilerConfig
sourcepub fn builder() -> ProfilerConfigBuilder
pub fn builder() -> ProfilerConfigBuilder
Creates a new builder-style object to manufacture ProfilerConfig
.
Trait Implementations§
source§impl Clone for ProfilerConfig
impl Clone for ProfilerConfig
source§fn clone(&self) -> ProfilerConfig
fn clone(&self) -> ProfilerConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProfilerConfig
impl Debug for ProfilerConfig
source§impl PartialEq for ProfilerConfig
impl PartialEq for ProfilerConfig
impl StructuralPartialEq for ProfilerConfig
Auto Trait Implementations§
impl Freeze for ProfilerConfig
impl RefUnwindSafe for ProfilerConfig
impl Send for ProfilerConfig
impl Sync for ProfilerConfig
impl Unpin for ProfilerConfig
impl UnwindSafe for ProfilerConfig
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
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)
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>
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>
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 more