diff options
author | Colm Donelan <colm.donelan@arm.com> | 2022-08-10 16:29:08 +0100 |
---|---|---|
committer | Nikhil Raj <nikhil.raj@arm.com> | 2022-08-29 10:12:32 +0100 |
commit | 514d16b434102a4a7807548745af301baab13b6b (patch) | |
tree | 556c92405a025fcddba67801b779f05c2f63b427 /src/armnn/ProfilingDetails.hpp | |
parent | b016157f1eea1acc6a84308521c0b90543161da4 (diff) | |
download | armnn-514d16b434102a4a7807548745af301baab13b6b.tar.gz |
IVGCVSW-7106 Additional fix models with multiple input and output tensors.
* The previous fix for IVGCVSW-7106 introduced a problem around
operators with multiple inputs and outputs: addSeparator was being
applied to all tensors in the list not just the last one.
Signed-off-by: Colm Donelan <colm.donelan@arm.com>
Change-Id: I0325d9abcb7fb512f834c61686c698bbfc29a3be
Diffstat (limited to 'src/armnn/ProfilingDetails.hpp')
-rw-r--r-- | src/armnn/ProfilingDetails.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/armnn/ProfilingDetails.hpp b/src/armnn/ProfilingDetails.hpp index e1f357b3f3..64fceaf476 100644 --- a/src/armnn/ProfilingDetails.hpp +++ b/src/armnn/ProfilingDetails.hpp @@ -169,7 +169,8 @@ private: // Close out the scope PrintNewLine(); PrintFooter(); - if (addSeparator) + // For the last element we will consider the value of addSeparator. + if ((i < infos.size() - 1) || (addSeparator)) { PrintSeparator(); PrintNewLine(); |