The SampleMNISTAPIParams structure groups the additional parameters required by the SampleMNISTAPI sample.
More...
The SampleMNISTAPIParams structure groups the additional parameters required by the SampleMNISTAPI sample.
◆ inputH
int SampleMNISTAPIParams::inputH |
◆ inputW
int SampleMNISTAPIParams::inputW |
◆ outputSize
int SampleMNISTAPIParams::outputSize |
◆ weightsFile
std::string SampleMNISTAPIParams::weightsFile |
The filename of the weights file.
◆ mnistMeansProto
std::string SampleMNISTAPIParams::mnistMeansProto |
The proto file containing means.
◆ batchSize
int32_t samplesCommon::SampleParams::batchSize {1} |
|
inherited |
Number of inputs in a batch.
◆ dlaCore
int32_t samplesCommon::SampleParams::dlaCore {-1} |
|
inherited |
Specify the DLA core to run network on.
◆ int8
bool samplesCommon::SampleParams::int8 {false} |
|
inherited |
Allow runnning the network in Int8 mode.
◆ fp16
bool samplesCommon::SampleParams::fp16 {false} |
|
inherited |
Allow running the network in FP16 mode.
◆ dataDirs
std::vector<std::string> samplesCommon::SampleParams::dataDirs |
|
inherited |
Directory paths where sample data files are stored.
◆ inputTensorNames
std::vector<std::string> samplesCommon::SampleParams::inputTensorNames |
|
inherited |
◆ outputTensorNames
std::vector<std::string> samplesCommon::SampleParams::outputTensorNames |
|
inherited |
The documentation for this struct was generated from the following file: