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().
(self)
| 1421 | self._handle, self._mirroring_policy) |
| 1422 | |
| 1423 | def enable_run_metadata(self): |
| 1424 | """Enables tracing of op execution via RunMetadata. |
| 1425 | |
| 1426 | To retrieve the accumulated metadata call context.export_run_metadata() |
| 1427 | and to stop tracing call context.disable_run_metadata(). |
| 1428 | """ |
| 1429 | self.ensure_initialized() |
| 1430 | pywrap_tensorflow.TFE_ContextEnableRunMetadata(self._handle) |
| 1431 | |
| 1432 | def disable_run_metadata(self): |
| 1433 | """Disables tracing of op execution via RunMetadata.""" |