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

Method run

tools/python/transform/caffe_converter.py:239–246  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

237 self._skip_ops = []
238
239 def run(self):
240 self.convert_ops()
241 shape_inferer = shape_inference.ShapeInference(
242 self._mace_net_def,
243 self._option.input_nodes.values())
244 shape_inferer.run()
245 self.replace_output_tensor_name()
246 return self._mace_net_def, self._converter_info
247
248 @staticmethod
249 def replace_input_name(ops, src_name, dst_name):

Callers

nothing calls this directly

Calls 3

convert_opsMethod · 0.95
runMethod · 0.95

Tested by

no test coverage detected