Fix ExecuteNetwork no longer printing out the inference results,
authorMatteo Martincigh <matteo.martincigh@arm.com>
Mon, 28 Oct 2019 10:48:05 +0000 (10:48 +0000)
committerMatteo Martincigh <matteo.martincigh@arm.com>
Mon, 28 Oct 2019 14:30:16 +0000 (14:30 +0000)
commitd6f26fc022defe1f6220bb6e2874fefc9a4c0cba
tree86a32e208eee33ae34bab977b7ad7d4964c181ee
parent49e7d1b09b47fa40237c4696f6c590cbebf19a7e
Fix ExecuteNetwork no longer printing out the inference results,
breaking some of the nightly builds

 * The TensorPrinter must be called regardless of the value of
   the output tensor files, it will automatically handle an empty
   file path by only printing the results to the console
 * Code refactoring

Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
Change-Id: I548ec7cf6d51badf78643c9a6c1c56ea9200142b
src/armnnUtils/TensorIOUtils.hpp
tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp