Get the partition graphs. Returns: Partition graphs as a list of GraphDef. Raises: LookupError: If no partition graphs have been loaded.
(self)
| 922 | return bool(self._debug_graphs) |
| 923 | |
| 924 | def partition_graphs(self): |
| 925 | """Get the partition graphs. |
| 926 | |
| 927 | Returns: |
| 928 | Partition graphs as a list of GraphDef. |
| 929 | |
| 930 | Raises: |
| 931 | LookupError: If no partition graphs have been loaded. |
| 932 | """ |
| 933 | if not self._debug_graphs: |
| 934 | raise LookupError("No partition graphs have been loaded.") |
| 935 | return [self._debug_graphs[key].debug_graph_def |
| 936 | for key in self._debug_graphs] |
| 937 | |
| 938 | def reconstructed_non_debug_partition_graphs(self): |
| 939 | """Reconstruct partition graphs with the debugger-inserted ops stripped. |
no outgoing calls