This commit revises tflite_benchmark to show benchmark configurations
before running benchmark.
Currently, the following configurations will be shown:
- The number of threads to be used
- Whether NNAPI is used, or not
Signed-off-by: Jonghyun Park <jh1302.park@samsung.com>
use_nnapi = true;
}
+ std::cout << "Num threads: " << thread.value() << std::endl;
+ if (use_nnapi)
+ {
+ std::cout << "Use NNAPI" << std::endl;
+ }
+
StderrReporter error_reporter;
auto model = FlatBufferModel::BuildFromFile(filename, &error_reporter);