MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / _enable_trace

Method _enable_trace

tensorflow/python/keras/callbacks.py:1689–1692  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1687 context.context().summary_step = self._prev_summary_step
1688
1689 def _enable_trace(self):
1690 if context.executing_eagerly():
1691 summary_ops_v2.trace_on(graph=True, profiler=True)
1692 self._is_tracing = True
1693
1694 def _log_trace(self):
1695 """Logs the trace graph to TensorBoard."""

Callers 1

on_train_batch_endMethod · 0.95

Calls 1

executing_eagerlyMethod · 0.80

Tested by

no test coverage detected