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

Method gen_engine_factory

tools/python/micro/micro_codegen.py:109–115  ·  view source on GitHub ↗
(self, model_tag, output_path_h, output_path_cc)

Source from the content-addressed store, hash-verified

107 output_path)
108
109 def gen_engine_factory(self, model_tag, output_path_h, output_path_cc):
110 self.gen_micro_source_from_bytes(model_tag, '',
111 'micro_engine_factory.h.jinja2',
112 output_path_h)
113 self.gen_micro_source_from_bytes(model_tag, '',
114 'micro_engine_factory.cc.jinja2',
115 output_path_cc)
116
117 def gen_engine_c_interface(self, model_tag, output_path_h, output_path_cc):
118 self.gen_micro_source_from_bytes(model_tag, '',

Callers 1

Calls 1

Tested by

no test coverage detected