Description Usage Arguments Details See Also
View source: R/session_run_hooks_builtin_wrappers.R
The tensors will be printed to the log, with INFO
severity.
1 2 3 4 5 6 7 | hook_logging_tensor(
tensors,
every_n_iter = NULL,
every_n_secs = NULL,
formatter = NULL,
at_end = FALSE
)
|
tensors |
A list that maps string-valued tags to tensors/tensor names. |
every_n_iter |
An integer value, indicating the values of |
every_n_secs |
An integer or float value, indicating the values of |
formatter |
A function that takes |
at_end |
A boolean value specifying whether to print the values of |
Note that if at_end
is TRUE
, tensors
should not include any tensor
whose evaluation produces a side effect such as consuming additional inputs.
Other session_run_hook wrappers:
hook_checkpoint_saver()
,
hook_global_step_waiter()
,
hook_history_saver()
,
hook_nan_tensor()
,
hook_progress_bar()
,
hook_step_counter()
,
hook_stop_at_step()
,
hook_summary_saver()
,
session_run_hook()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.