aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Kelly <mike.kelly@arm.com>2021-08-12 14:18:05 +0100
committerMatthew Sloyan <matthew.sloyan@arm.com>2021-08-13 15:50:51 +0100
commit173a9dbc7b8af081cb0a8981420d1639c06d513c (patch)
treed669a7a6fefc6098a2a5c7d250eeda90cff84aa3
parentc7c9ced8861c6d083328b908ee1fd3194eac9bae (diff)
downloadarmnn-173a9dbc7b8af081cb0a8981420d1639c06d513c.tar.gz
Fixed logic error.
* Condition used to check if m_BiasTensorInfo had a value then obtain a value from m_WeightsTensorInfo Signed-off-by: Mike Kelly <mike.kelly@arm.com> Change-Id: I1b68ed98baa54a20663728b8871dcfa35c3347f0
-rw-r--r--src/armnn/ProfilingDetails.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/armnn/ProfilingDetails.hpp b/src/armnn/ProfilingDetails.hpp
index 2f9a8f00e3..befc437dd7 100644
--- a/src/armnn/ProfilingDetails.hpp
+++ b/src/armnn/ProfilingDetails.hpp
@@ -53,7 +53,7 @@ public:
{
PrintInfo(infos.m_BiasTensorInfo.value(), "Bias");
}
- if ( infos.m_BiasTensorInfo.has_value())
+ if ( infos.m_WeightsTensorInfo.has_value())
{
PrintInfo(infos.m_WeightsTensorInfo.value(), "Weights");
}