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)
| 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): |