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

Function usage

runtime/example/standard_OS/lite_main.c:160–173  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158#endif
159
160void usage() {
161 fprintf(stderr,
162 "Usage:\n"
163 "\t--input-model/-m: input model path\n"
164 "\t--output-dir/-o: output file path\n"
165 "\t--log-level/-l: 0:ERROR, 1:WARN, 2:INFO, 3:DEBUG\n"
166 "\t--input-data/-d: var=path/to/data_file, create by: "
167 "python3 compiler/script/debug/gen_input.py\n"
168 "\t--data-shape/-s: data shape\n"
169 "\t--c-opr-lib/-c: path to extern opr lib file(.so)\n"
170 "\t--c-opr-init-interface/-i: the init API of your loader\n"
171 "\t--warmup-count/-w: warmup count before run model\n"
172 "\t--iter-count/-t: iter run model\n");
173}
174
175#if defined(_WIN32)
176#include <io.h>

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected