MCPcopy Create free account
hub / github.com/MegEngine/MegCC / convert_to_mge

Method convert_to_mge

benchmark/python/src/models.py:83–87  ·  view source on GitHub ↗
(self, output_dir=default_gen_path)

Source from the content-addressed store, hash-verified

81 )
82
83 def convert_to_mge(self, output_dir=default_gen_path):
84 for model in self.models:
85 input = "{}/{}.onnx".format(output_dir, model.name)
86 output = "{}/{}.mge".format(output_dir, model.name)
87 onnx_to_mge(input, output)
88
89 def make(self, model_dir=""):
90 if model_dir != "":

Callers 1

makeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected