View source: R/session_run_hooks_builtin_wrappers.R
session_run_hook | R Documentation |
Create a set of session run hooks, used to record information during training of an estimator. See Details for more information on the various hooks that can be defined.
session_run_hook(
begin = function() {
},
after_create_session = function(session, coord) {
},
before_run = function(context) {
},
after_run = function(context, values) {
},
end = function(session) {
}
)
begin |
|
after_create_session |
|
before_run |
|
after_run |
|
end |
Typically, you'll want to define a |
session_run_args()
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()
,
hook_summary_saver()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.