### OPTIONS
--help, -h - print usage and exit
- --plugins-verbose - verbose printing when plugins will be being searched
--debug - turn debugging on (optional: provide filename)
--debug-area - if specified, debug code will be executed only in given areas
--caffe - treat input file as Caffe model
/**
* Options for compiler driver
*/
-extern Option<bool> pluginVerbose; // print additional info about plugins
extern Option<bool> caffeFrontend; // frontend for CAFFE AI framework
extern Option<bool> tflFrontend; // frontend for TensorFlow Lite AI framework
overview("print usage and exit"),
false,
optional(true));
-
-Option<bool> pluginVerbose(optname("--plugins-verbose"),
- overview("verbose printing when plugins will be being searched"),
- false,
- optional(true));
Option<std::string> debugMode(optname("--debug"),
overview("turn debugging on (optional: provide filename)"),
"-", // when option is not passed to command line
std::cerr << msg << "\n";
}
- std::cerr << "Usage: " << _prog_name << ": [OPTIONS]...\n";
+ std::cerr << "Usage: " << _prog_name << " OPTIONS\n";
std::cerr << "Available OPTIONS" << std::endl;
// determine max length