MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / display_usage

Function display_usage

tensorflow/lite/examples/label_image/label_image.cc:321–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

319}
320
321void display_usage() {
322 LOG(INFO)
323 << "label_image\n"
324 << "--accelerated, -a: [0|1], use Android NNAPI or not\n"
325 << "--old_accelerated, -d: [0|1], use old Android NNAPI delegate or not\n"
326 << "--allow_fp16, -f: [0|1], allow running fp32 models with fp16 or not\n"
327 << "--count, -c: loop interpreter->Invoke() for certain times\n"
328 << "--gl_backend, -g: use GL GPU Delegate on Android\n"
329 << "--input_mean, -b: input mean\n"
330 << "--input_std, -s: input standard deviation\n"
331 << "--image, -i: image_name.bmp\n"
332 << "--labels, -l: labels for the model\n"
333 << "--tflite_model, -m: model_name.tflite\n"
334 << "--profiling, -p: [0|1], profiling or not\n"
335 << "--num_results, -r: number of results to show\n"
336 << "--threads, -t: number of threads\n"
337 << "--verbose, -v: [0|1] print more information\n"
338 << "--warmup_runs, -w: number of warmup runs\n"
339 << "\n";
340}
341
342int Main(int argc, char** argv) {
343 Settings s;

Callers 1

MainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected