def enable_run_metadata(self): """Enables tracing of op execution via RunMetadata. To retrieve the accumulated metadata call context.export_run_metadata() and to stop tracing call context.disable_run_metadata(). """ pywrap_tensorflow.TFE_ContextEnableRunMetadata(self._handle)
def enable_run_metadata(self): """Enables tracing of op execution via RunMetadata. To retrieve the accumulated metadata call context.export_run_metadata() and to stop tracing call context.disable_run_metadata(). """ if not self._context_handle: self._initialize_handle_and_devices() pywrap_tensorflow.TFE_ContextEnableRunMetadata(self._context_handle)