Returns a copy of a MetaGraph with the identical set of tags.
(self, tags=None)
| 375 | self._proto.meta_graphs.extend([meta_graph]) |
| 376 | |
| 377 | def get_meta_graph_copy(self, tags=None): |
| 378 | """Returns a copy of a MetaGraph with the identical set of tags.""" |
| 379 | meta_graph = self.get_meta_graph(tags) |
| 380 | copy = tf.compat.v1.MetaGraphDef() |
| 381 | copy.CopyFrom(meta_graph) |
| 382 | return copy |
| 383 | |
| 384 | @property |
| 385 | def meta_graphs(self): |