DataloaderProfilingConfig: DataloaderProfilingConfig Class

DataloaderProfilingConfigR Documentation

DataloaderProfilingConfig Class

Description

The configuration for framework metrics to be collected for data loader profiling.

Super class

sagemaker.common::MetricsConfigBase -> DataloaderProfilingConfig

Methods

Public methods

Inherited methods

Method new()

Specify target steps or a target duration to profile. By default, it profiles step 7 of training. If profile_default_steps is set to 'True' and none of the other range parameters is specified, the class uses the default config for dataloader profiling.

Usage
DataloaderProfilingConfig$new(
  start_step = NULL,
  num_steps = NULL,
  start_unix_time = NULL,
  duration = NULL,
  profile_default_steps = FALSE,
  metrics_regex = ".*"
)
Arguments
start_step

(int): The step to start profiling. The default is step 7.

num_steps

(int): The number of steps to profile. The default is for 1 step.

start_unix_time

(int): The Unix time to start profiling. The default is for 1 step.

duration

(float): The duration in seconds to profile.

profile_default_steps

(bool): Indicates whether the default config should be used.

metrics_regex

(str): Regex pattern


Method clone()

The objects of this class are cloneable with this method.

Usage
DataloaderProfilingConfig$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


DyfanJones/sagemaker-r-common documentation built on June 14, 2022, 10:31 p.m.