COMPMID-1188 - Fixed files extensions in GraphUtils.h

Also fixed the calculation of num_elements in access_numpy_tensor

Change-Id: Ic1a394ff829746d7803b81360830bade63b6b82a
Reviewed-on: https://eu-gerrit-1.euhpc.arm.com/143132
Reviewed-by: Anthony Barbier <anthony.barbier@arm.com>
Tested-by: Jenkins <bsgcomp@arm.com>
diff --git a/utils/GraphUtils.cpp b/utils/GraphUtils.cpp
index ef09d3d..573c757 100644
--- a/utils/GraphUtils.cpp
+++ b/utils/GraphUtils.cpp
@@ -149,7 +149,7 @@
 template <typename T>
 void NumPyAccessor::access_numpy_tensor(ITensor &tensor)
 {
-    const int num_elements          = tensor.info()->total_size();
+    const int num_elements          = tensor.info()->tensor_shape().total_size();
     int       num_mismatches        = utils::compare_tensor<T>(tensor, _npy_tensor);
     float     percentage_mismatches = static_cast<float>(num_mismatches) / num_elements;