Log event
Usage
log_event(..., step = get_global_step(increment = TRUE))Arguments
- ...
Named values that you want to log. They can be possibly nested, in this case, the enclosing names are considered 'run' names by TensorBoard.
- step
The step associated the logs. If
NULL, a managed step counter will be used, and the global step is increased in every call tolog_event().
Note
log_event() writes events to the default logdir. You can query the
default logdir with get_default_logdir() and modify it with
set_default_logdir(). You can also use the with_logdir() context switcher
to temporarily modify the logdir.