\brief Prints the help information for running this sample
| 611 | //! \brief Prints the help information for running this sample |
| 612 | //! |
| 613 | void printHelpInfo() |
| 614 | { |
| 615 | std::cout |
| 616 | << "Usage: ./sample_onnx_mnist [-h or --help] [-d or --datadir=<path to data directory>] [--useDLACore=<int>]" |
| 617 | << std::endl; |
| 618 | std::cout << "--help Display help information" << std::endl; |
| 619 | std::cout << "--datadir Specify path to a data directory, overriding the default. This option can be used " |
| 620 | "multiple times to add multiple directories. If no data directories are given, the default is to use " |
| 621 | "(data/samples/mnist/, data/mnist/)" |
| 622 | << std::endl; |
| 623 | std::cout << "--useDLACore=N Specify a DLA engine for layers that support DLA. Value can range from 0 to n-1, " |
| 624 | "where n is the number of DLA engines on the platform." |
| 625 | << std::endl; |
| 626 | } |
| 627 | //! |
| 628 | //! \brief Used to run the engine build and inference/reference functions |
| 629 | //! |