Struct aws_sdk_sagemaker::types::DebugHookConfig
source · #[non_exhaustive]pub struct DebugHookConfig {
pub local_path: Option<String>,
pub s3_output_path: Option<String>,
pub hook_parameters: Option<HashMap<String, String>>,
pub collection_configurations: Option<Vec<CollectionConfiguration>>,
}
Expand description
Configuration information for the Amazon SageMaker Debugger hook parameters, metric and tensor collections, and storage paths. To learn more about how to configure the DebugHookConfig
parameter, see Use the SageMaker and Debugger Configuration API Operations to Create, Update, and Debug Your Training Job.
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.local_path: Option<String>
Path to local storage location for metrics and tensors. Defaults to /opt/ml/output/tensors/
.
s3_output_path: Option<String>
Path to Amazon S3 storage location for metrics and tensors.
hook_parameters: Option<HashMap<String, String>>
Configuration information for the Amazon SageMaker Debugger hook parameters.
collection_configurations: Option<Vec<CollectionConfiguration>>
Configuration information for Amazon SageMaker Debugger tensor collections. To learn more about how to configure the CollectionConfiguration
parameter, see Use the SageMaker and Debugger Configuration API Operations to Create, Update, and Debug Your Training Job.
Implementations§
source§impl DebugHookConfig
impl DebugHookConfig
sourcepub fn local_path(&self) -> Option<&str>
pub fn local_path(&self) -> Option<&str>
Path to local storage location for metrics and tensors. Defaults to /opt/ml/output/tensors/
.
sourcepub fn s3_output_path(&self) -> Option<&str>
pub fn s3_output_path(&self) -> Option<&str>
Path to Amazon S3 storage location for metrics and tensors.
sourcepub fn hook_parameters(&self) -> Option<&HashMap<String, String>>
pub fn hook_parameters(&self) -> Option<&HashMap<String, String>>
Configuration information for the Amazon SageMaker Debugger hook parameters.
sourcepub fn collection_configurations(&self) -> &[CollectionConfiguration]
pub fn collection_configurations(&self) -> &[CollectionConfiguration]
Configuration information for Amazon SageMaker Debugger tensor collections. To learn more about how to configure the CollectionConfiguration
parameter, see Use the SageMaker and Debugger Configuration API Operations to Create, Update, and Debug Your Training Job.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .collection_configurations.is_none()
.
source§impl DebugHookConfig
impl DebugHookConfig
sourcepub fn builder() -> DebugHookConfigBuilder
pub fn builder() -> DebugHookConfigBuilder
Creates a new builder-style object to manufacture DebugHookConfig
.
Trait Implementations§
source§impl Clone for DebugHookConfig
impl Clone for DebugHookConfig
source§fn clone(&self) -> DebugHookConfig
fn clone(&self) -> DebugHookConfig
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DebugHookConfig
impl Debug for DebugHookConfig
source§impl PartialEq for DebugHookConfig
impl PartialEq for DebugHookConfig
source§fn eq(&self, other: &DebugHookConfig) -> bool
fn eq(&self, other: &DebugHookConfig) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DebugHookConfig
Auto Trait Implementations§
impl Freeze for DebugHookConfig
impl RefUnwindSafe for DebugHookConfig
impl Send for DebugHookConfig
impl Sync for DebugHookConfig
impl Unpin for DebugHookConfig
impl UnwindSafe for DebugHookConfig
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