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

Method graph_def

tensorflow/python/client/session.py:783–790  ·  view source on GitHub ↗

A serializable version of the underlying TensorFlow graph. Returns: A graph_pb2.GraphDef proto containing nodes for all of the Operations in the underlying TensorFlow graph.

(self)

Source from the content-addressed store, hash-verified

781
782 @property
783 def graph_def(self):
784 """A serializable version of the underlying TensorFlow graph.
785
786 Returns:
787 A graph_pb2.GraphDef proto containing nodes for all of the Operations in
788 the underlying TensorFlow graph.
789 """
790 return self._graph.as_graph_def(add_shapes=self._add_shapes)
791
792 @property
793 def sess_str(self):

Callers 15

RunMethod · 0.45
GraphOptimizerMethod · 0.45
TESTFunction · 0.45
CreateSessionMethod · 0.45
CreateSessionGroupMethod · 0.45
CreateModelSessionMethod · 0.45
CreateSavedModelIRFunction · 0.45
ConvertMethod · 0.45
ConvertSignaturesMethod · 0.45

Calls 1

as_graph_defMethod · 0.80

Tested by 2

TESTFunction · 0.36
SendEventsMethod · 0.36