Browse Source

add help info for debug_dir & op_compiler_cache_dir/mode

pull/209/MERGE^2
wuweikang 4 years ago
parent
commit
62f4eec656
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      ge/offline/main.cc

+ 5
- 1
ge/offline/main.cc View File

@@ -299,7 +299,11 @@ class GFlagUtils {
" --save_original_model Control whether to output original model. E.g.: true: output original model\n"
" --log Generate log with level. Support debug, info, warning, error, null\n"
" --dump_mode The switch of dump json with shape, to be used with mode 1. "
"0(default): disable; 1: enable.");
"0(default): disable; 1: enable.\n"
" --debug_dir Set the save path of operator compilation intermediate files. Default value: ./\n"
" --op_compiler_cache_dir Set the save path of operator compilation cache files. Default value: ./\n"
" --op_compiler_cache_mode Set the operator compilation cache mode."
"Options are disable(default), enable and force(force to refresh the cache)");

gflags::ParseCommandLineNonHelpFlags(&argc, &argv, true);
// Using gflags to analyze input parameters


Loading…
Cancel
Save