From cd8754ec0fbedbe79288d6132f3c3e33318665e8 Mon Sep 17 00:00:00 2001 From: Alexander Israelsson Date: Tue, 15 Feb 2022 09:03:48 +0100 Subject: Skip printing OFM with message_handler Some networks have very big OFM which will completely fill the output buffer and hide more important information. The OFM is already saved as a file and does not need to be included in the output. Change-Id: I4174fd799ba2f31f187d5bf2718a92a19ecee5c1 --- applications/message_handler/message_handler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/applications/message_handler/message_handler.cpp b/applications/message_handler/message_handler.cpp index 817255f..f95d5f6 100644 --- a/applications/message_handler/message_handler.cpp +++ b/applications/message_handler/message_handler.cpp @@ -243,7 +243,7 @@ void InferenceHandler::runInference(ethosu_core_inference_req &req, ethosu_core_ ofm.push_back(InferenceProcess::DataPtr(reinterpret_cast(req.ofm[i].ptr), req.ofm[i].size)); } - InferenceProcess::InferenceJob job("job", networkModel, ifm, ofm, {}, -1, this); + InferenceProcess::InferenceJob job("job", networkModel, ifm, ofm, {}, 0, this); /* * Run inference -- cgit v1.2.1