28int main(
int argc,
const char **argv)
31 cli::overview(
"Path to the model"));
33 cli::overview(
"Path to the weights"));
35 cli::overview(
"Shape of the input"));
44 catch (std::exception &e)
46 std::cout <<
"Error: " << e.what() << std::endl;
static CommandLine * getParser()
singleton method
void parseCommandLine(int argc, const char **argv, bool check_nonoptional=true)
parse command line option
this class describes command line option
std::unique_ptr< mir::Graph > loadModel(std::string predict_net, std::string init_net, const std::vector< std::vector< int > > &input_shapes)
void dumpGraph(const Graph *graph, std::ostream &stream)