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

Method gen_engine_c_interface

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

Source from the content-addressed store, hash-verified

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, '',
119 'micro_engine_c_interface.h.jinja2',
120 output_path_h)
121 self.gen_micro_source_from_bytes(model_tag, '',
122 'micro_engine_c_interface.cc.jinja2',
123 output_path_cc)
124
125 def gen_cmake_file(self, model_tag, output_path):
126 cwd = os.path.dirname(__file__)

Callers 1

Calls 1

Tested by

no test coverage detected