(self, graph, global_step=None, graph_def=None)
| 94 | super().add_session_log(tf_session_log, global_step) |
| 95 | |
| 96 | def add_graph(self, graph, global_step=None, graph_def=None): |
| 97 | if isinstance(graph_def, graph_pb2.GraphDef): |
| 98 | tf_graph_def = tf.compat.v1.GraphDef.FromString( |
| 99 | graph_def.SerializeToString() |
| 100 | ) |
| 101 | else: |
| 102 | tf_graph_def = graph_def |
| 103 | |
| 104 | super().add_graph( |
| 105 | graph, global_step=global_step, graph_def=tf_graph_def |
| 106 | ) |
| 107 | |
| 108 | def add_meta_graph(self, meta_graph_def, global_step=None): |
| 109 | if isinstance(meta_graph_def, meta_graph_pb2.MetaGraphDef): |
no outgoing calls
no test coverage detected