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

Method partition_graphs

tensorflow/python/debug/lib/debug_data.py:924–936  ·  view source on GitHub ↗

Get the partition graphs. Returns: Partition graphs as a list of GraphDef. Raises: LookupError: If no partition graphs have been loaded.

(self)

Source from the content-addressed store, hash-verified

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.

Callers 2

CheckRunStepResponseFunction · 0.80
TEST_FFunction · 0.80

Calls

no outgoing calls

Tested by 2

CheckRunStepResponseFunction · 0.64
TEST_FFunction · 0.64