MCPcopy Create free account
hub / github.com/tensorflow/tensorboard / add_meta_graph

Method add_meta_graph

tensorboard/util/test_util.py:108–118  ·  view source on GitHub ↗
(self, meta_graph_def, global_step=None)

Source from the content-addressed store, hash-verified

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
121class FileWriterCache:

Calls

no outgoing calls

Tested by

no test coverage detected