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

Method run

tools/python/transform/megengine_converter.py:157–161  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

155 self._bn_statistis_tensors = {}
156
157 def run(self):
158 self.convert_ops()
159
160 self.replace_input_output_tensor_name()
161 return self._mace_net_def, self._converter_info
162
163 # only change the input/output tensor name for whole model
164 def replace_input_output_tensor_name(self):

Callers

nothing calls this directly

Calls 2

convert_opsMethod · 0.95

Tested by

no test coverage detected