(self, meta_graph_def, global_step=None)
| 106 | ) |
| 107 | |
| 108 | def add_meta_graph(self, meta_graph_def, global_step=None): |
| 109 | if isinstance(meta_graph_def, meta_graph_pb2.MetaGraphDef): |
| 110 | tf_meta_graph_def = tf.compat.v1.MetaGraphDef.FromString( |
| 111 | meta_graph_def.SerializeToString() |
| 112 | ) |
| 113 | else: |
| 114 | tf_meta_graph_def = meta_graph_def |
| 115 | |
| 116 | super().add_meta_graph( |
| 117 | meta_graph_def=tf_meta_graph_def, global_step=global_step |
| 118 | ) |
| 119 | |
| 120 | |
| 121 | class FileWriterCache: |
no outgoing calls
no test coverage detected