hook_history_saver: A Custom Run Hook for Saving Metrics History

View source: R/session_run_hooks_custom.R

hook_history_saverR Documentation

A Custom Run Hook for Saving Metrics History

Description

This hook allows users to save the metrics history produced during training or evaluation in a specified frequency.

Usage

hook_history_saver(every_n_step = 10)

Arguments

every_n_step

Save the metrics every N steps

See Also

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


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