Saves Summaries Every N Steps
hook_summary_saver(
save_steps = NULL,
save_secs = NULL,
output_dir = NULL,
summary_writer = NULL,
scaffold = NULL,
summary_op = NULL
)
An integer indicating saving summaries every N steps. Exactly one of
save_secs
and save_steps
should be set.
An integer indicating saving summaries every N seconds.
The directory to save the summaries to. Only used
if no summary_writer
is supplied.
The summary writer. If NULL
and an output_dir
was
passed, one will be created accordingly.
A scaffold to get summary_op if it's not provided.
A tensor of type tf$string
containing the serialized
summary protocol buffer or a list of tensors. They are most likely an
output by TensorFlow summary methods like tf$summary$scalar
or
tf$summary$merge_all
. It can be passed in as one tensor; if more than
one, they must be passed in as a list.
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_step_counter()
,
hook_stop_at_step()
,
session_run_hook()