R/run_context.R

Defines functions run_context_global_step run_context_losses

# Tools for introspecting the run context of a TensorFlow session.
run_context_losses <- function(context) {
  context$session$graph$get_collection("losses")
}

run_context_global_step <- function(context) {
  context$session$graph$get_collection("global_step")
}

Try the tfestimators package in your browser

Any scripts or data that you put into this service are public.

tfestimators documentation built on Aug. 10, 2021, 1:06 a.m.