MCPcopy Create free account
hub / github.com/XiaoMi/mace / run

Method run

tools/python/transform/tensorflow_converter.py:370–375  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

368 self._tf_graph = graph
369
370 def run(self):
371 with tf.Session() as session:
372 self.convert_ops(session)
373
374 self.replace_input_output_tensor_name()
375 return self._mace_net_def, self._converter_info
376
377 def replace_input_output_tensor_name(self):
378 for op in self._mace_net_def.op:

Callers 1

update_output_shapesMethod · 0.45

Calls 2

convert_opsMethod · 0.95

Tested by

no test coverage detected