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

Method gen_engin_config

tools/python/micro/micro_codegen.py:98–101  ·  view source on GitHub ↗
(self, model_tag, config_data, output_path)

Source from the content-addressed store, hash-verified

96 output_path)
97
98 def gen_engin_config(self, model_tag, config_data, output_path):
99 self.gen_micro_source_from_bytes(model_tag, config_data,
100 'micro_engine_config.cc.jinja2',
101 output_path)
102
103 def gen_model_data(self, model_tag, model_param_data, output_path):
104 embed_data = np.frombuffer(model_param_data, dtype=np.uint8)

Callers 1

gen_code_from_modelMethod · 0.80

Calls 1

Tested by

no test coverage detected