Run whole dataset in scoring benchmark.
Added new NNBenchmark run loop method that runs through multiplies
of input dataset with a timeout. In case of timeout or other issue
preventing it from running complete input set throws an excepion.
Set timeout for complete input set to 5 minutes.
Minor refactorings:
- s/NNTestCase.createBaseTest/NNTestCase.setupModel
- Removed unused demo mode
- Added 5m timeout to other complete-set tests.
Test: build_and_run_benchmark.sh
Bug: 117086849
Change-Id: I2396f26f119360c726c1e5f3fa6482279130e3ab
7 files changed