Enables graph collection of executed functions. To retrieve the accumulated graphs call context.export_run_metadata() and to stop collecting graphs call context.disable_graph_collection().
(self)
| 1436 | pywrap_tensorflow.TFE_ContextDisableRunMetadata(self._context_handle) |
| 1437 | |
| 1438 | def enable_graph_collection(self): |
| 1439 | """Enables graph collection of executed functions. |
| 1440 | |
| 1441 | To retrieve the accumulated graphs call context.export_run_metadata() |
| 1442 | and to stop collecting graphs call context.disable_graph_collection(). |
| 1443 | """ |
| 1444 | self.ensure_initialized() |
| 1445 | pywrap_tensorflow.TFE_ContextEnableGraphCollection(self._handle) |
| 1446 | |
| 1447 | def disable_graph_collection(self): |
| 1448 | """Disables graph collection of executed functions.""" |
no test coverage detected