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

Function printHelpInfo

samples/sampleDynamicReshape/sampleDynamicReshape.cpp:506–517  ·  view source on GitHub ↗

\brief Prints the help information for running this sample

Source from the content-addressed store, hash-verified

504//! \brief Prints the help information for running this sample
505//!
506void printHelpInfo()
507{
508 std::cout << "Usage: ./sample_dynamic_reshape [-h or --help] [-d or --datadir=<path to data directory>]"
509 << std::endl;
510 std::cout << "--help, -h Display help information" << std::endl;
511 std::cout << "--datadir Specify path to a data directory, overriding the default. This option can be used "
512 "multiple times to add multiple directories. If no data directories are given, the default is to use "
513 "(data/samples/mnist/, data/mnist/)"
514 << std::endl;
515 std::cout << "--int8 Run in Int8 mode." << std::endl;
516 std::cout << "--fp16 Run in FP16 mode." << std::endl;
517}
518
519int main(int argc, char** argv)
520{

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected