hook_step_counter: Steps per Second Monitor

View source: R/session_run_hooks_builtin_wrappers.R

hook_step_counterR Documentation

Steps per Second Monitor

Description

Steps per Second Monitor

Usage

hook_step_counter(
  every_n_steps = 100,
  every_n_secs = NULL,
  output_dir = NULL,
  summary_writer = NULL
)

Arguments

every_n_steps

Run this counter every N steps

every_n_secs

Run this counter every N seconds

output_dir

The output directory

summary_writer

The summary writer

See Also

Other session_run_hook wrappers: hook_checkpoint_saver(), hook_global_step_waiter(), hook_history_saver(), hook_logging_tensor(), hook_nan_tensor(), hook_progress_bar(), hook_stop_at_step(), hook_summary_saver(), session_run_hook()


tfestimators documentation built on Aug. 19, 2025, 1:15 a.m.