StepRange: Configuration for the range of steps to profile.

StepRangeR Documentation

Configuration for the range of steps to profile.

Description

It returns the target steps in dictionary format that you can pass to the :class:'~sagemaker.debugger.FrameworkProfile' class.

Methods

Public methods


Method new()

Set the start step and num steps. If the start step is not specified, Debugger starts profiling at step 0. If num steps is not specified, profile for 1 step.

Usage
StepRange$new(start_step, num_steps)
Arguments
start_step

(int): The step to start profiling.

num_steps

(int): The number of steps to profile.


Method to_json()

Convert the step range into a dictionary.

Usage
StepRange$to_json()
Returns

list: The step range as a dictionary.


Method format()

format class

Usage
StepRange$format()

Method clone()

The objects of this class are cloneable with this method.

Usage
StepRange$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.