IVGCVSW-4453 QLSTM Support
authorSadik Armagan <sadik.armagan@arm.com>
Fri, 22 May 2020 07:36:33 +0000 (08:36 +0100)
committerJan Eilers <jan.eilers@arm.com>
Fri, 22 May 2020 13:43:17 +0000 (14:43 +0100)
* Number of elements is output size for projection bias on QLSTM

Signed-off-by: Sadik Armagan <sadik.armagan@arm.com>
Change-Id: I9d32cfb187bbe0c6ef809a7a89da907fbac83380

src/backends/backendsCommon/WorkloadData.cpp

index 5796fc7..8f751c4 100644 (file)
@@ -3116,7 +3116,7 @@ void QLstmQueueDescriptor::Validate(const WorkloadInfo& workloadInfo) const
         if (m_ProjectionBias)
         {
             auto projectionBiasInfo = m_ProjectionBias->GetTensorInfo();
-            ValidateTensorNumDimNumElem(projectionBiasInfo, 1, numUnits, "ProjectionBias");
+            ValidateTensorNumDimNumElem(projectionBiasInfo, 1, outputSize, "ProjectionBias");
             ValidateDataTypes(projectionBiasInfo, biasSupportedTypes, descriptorName);
         }