diff options
Diffstat (limited to 'Utils.cpp')
-rw-r--r-- | Utils.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -577,6 +577,11 @@ bool IsDynamicTensor(const armnn::TensorInfo& tensorInfo) { return true; } + // Account for the usage of the TensorShape empty constructor + if (tensorInfo.GetNumDimensions() == 0) + { + return true; + } return !tensorInfo.GetShape().AreAllDimensionsSpecified(); } |