Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

hook_summary_saver

Saves Summaries Every N Steps


Description

Saves Summaries Every N Steps

Usage

hook_summary_saver(save_steps = NULL, save_secs = NULL,
  output_dir = NULL, summary_writer = NULL, scaffold = NULL,
  summary_op = NULL)

Arguments

save_steps

An integer indicating saving summaries every N steps. Exactly one of save_secs and save_steps should be set.

save_secs

An integer indicating saving summaries every N seconds.

output_dir

The directory to save the summaries to. Only used if no summary_writer is supplied.

summary_writer

The summary writer. If NULL and an output_dir was passed, one will be created accordingly.

scaffold

A scaffold to get summary_op if it's not provided.

summary_op

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.

See Also


tfestimators

Interface to 'TensorFlow' Estimators

v1.9.1
Apache License 2.0
Authors
JJ Allaire [aut], Yuan Tang [aut] (<https://orcid.org/0000-0001-5243-233X>), Kevin Ushey [aut], Kevin Kuo [aut, cre] (<https://orcid.org/0000-0001-7803-7901>), Daniel Falbel [ctb, cph], RStudio [cph, fnd], Google Inc. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.