\brief Prints the help information for running this sample
| 1041 | //! \brief Prints the help information for running this sample |
| 1042 | //! |
| 1043 | void printHelpInfo() |
| 1044 | { |
| 1045 | std::cout << "Usage: ./sample_char_rnn [-h or --help] [-d or --datadir=<path to data directory>]\n"; |
| 1046 | std::cout << "--help Display help information\n"; |
| 1047 | std::cout << "--useILoop Use ILoop LSTM definition\n"; |
| 1048 | std::cout << "--datadir Specify path to a data directory, overriding the default. This option can be used " |
| 1049 | "multiple times to add multiple directories. If no data directories are given, the default is to use " |
| 1050 | "data/samples/char-rnn/ and data/char-rnn/" |
| 1051 | << std::endl; |
| 1052 | std::cout << "--loadEngine Specify path from which to load the engine. When this option is provided, engine " |
| 1053 | "building is skipped." |
| 1054 | << std::endl; |
| 1055 | std::cout << "--saveEngine Specify path at which to save the engine." << std::endl; |
| 1056 | } |
| 1057 | |
| 1058 | //! |
| 1059 | //! \brief Runs the char-rnn model in TensorRT with a set of expected input and output strings. |