MCPcopy Create free account
hub / github.com/NVIDIA/TensorRT / printHelpInfo

Function printHelpInfo

samples/sampleIOFormats/sampleIOFormats.cpp:613–626  ·  view source on GitHub ↗

\brief Prints the help information for running this sample

Source from the content-addressed store, hash-verified

611//! \brief Prints the help information for running this sample
612//!
613void 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//!

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected