/external/armnn/include/armnn/ |
D | LstmParams.hpp | 32 , m_ProjectionBias(nullptr) in LstmInputParams() 56 const ConstTensor* m_ProjectionBias; member 82 , m_ProjectionBias(nullptr) in LstmInputParamsInfo() 105 const TensorInfo* m_ProjectionBias; member 187 return Deref(m_ProjectionBias); in GetProjectionBias()
|
/external/armnn/src/armnn/layers/ |
D | QLstmLayer.cpp | 49 descriptor.m_ProjectionBias = m_ProjectionParameters.m_ProjectionBias.get(); in CreateWorkload() 118 layer->m_ProjectionParameters.m_ProjectionBias = m_ProjectionParameters.m_ProjectionBias ? in Clone() 119 m_ProjectionParameters.m_ProjectionBias : nullptr; in Clone() 292 m_ProjectionParameters.m_ProjectionBias, in GetConstantTensorsByRef() 327 ManagedConstTensorHandle managedProjectionBias(m_ProjectionParameters.m_ProjectionBias); in ExecuteStrategy() 431 if (m_ProjectionParameters.m_ProjectionBias != nullptr) in ExecuteStrategy()
|
D | LstmLayer.cpp | 49 descriptor.m_ProjectionBias = m_ProjectionParameters.m_ProjectionBias.get(); in CreateWorkload() 118 layer->m_ProjectionParameters.m_ProjectionBias = m_ProjectionParameters.m_ProjectionBias ? in Clone() 119 m_ProjectionParameters.m_ProjectionBias : nullptr; in Clone() 290 m_ProjectionParameters.m_ProjectionBias, in GetConstantTensorsByRef() 327 ManagedConstTensorHandle managedProjectionBias(m_ProjectionParameters.m_ProjectionBias); in ExecuteStrategy() 442 if (m_ProjectionParameters.m_ProjectionBias != nullptr) in ExecuteStrategy()
|
D | UnidirectionalSequenceLstmLayer.cpp | 49 descriptor.m_ProjectionBias = m_ProjectionParameters.m_ProjectionBias.get(); in CreateWorkload() 118 layer->m_ProjectionParameters.m_ProjectionBias = m_ProjectionParameters.m_ProjectionBias ? in Clone() 119 m_ProjectionParameters.m_ProjectionBias : nullptr; in Clone() 297 m_ProjectionParameters.m_ProjectionBias, in GetConstantTensorsByRef() 334 ManagedConstTensorHandle managedProjectionBias(m_ProjectionParameters.m_ProjectionBias); in ExecuteStrategy() 449 if (m_ProjectionParameters.m_ProjectionBias != nullptr) in ExecuteStrategy()
|
D | LstmParameters.hpp | 41 std::shared_ptr<ConstTensorHandle> m_ProjectionBias; member
|
D | QLstmLayer.hpp | 43 std::shared_ptr<ConstTensorHandle> m_ProjectionBias; member
|
/external/armnn/src/backends/neon/workloads/ |
D | NeonQLstmWorkload.cpp | 84 if (m_Data.m_ProjectionBias != nullptr) in NeonQLstmWorkload() 86 … BuildArmComputeTensor(*m_ProjectionBiasTensor, m_Data.m_ProjectionBias->GetTensorInfo()); in NeonQLstmWorkload() 92 m_Data.m_ProjectionBias != nullptr ? m_ProjectionBiasTensor.get() : nullptr); in NeonQLstmWorkload() 202 if (m_Data.m_ProjectionBias != nullptr) in NeonQLstmWorkload() 204 InitializeArmComputeTensorData(*m_ProjectionBiasTensor, m_Data.m_ProjectionBias); in NeonQLstmWorkload() 321 if (paramsInfo.m_ProjectionBias != nullptr) in NeonQLstmWorkloadValidate() 329 paramsInfo.m_ProjectionBias != nullptr ? &aclProjectionBiasInfo : nullptr); in NeonQLstmWorkloadValidate()
|
D | NeonLstmFloatWorkload.cpp | 89 if (m_Data.m_ProjectionBias != nullptr) in NeonLstmFloatWorkload() 91 … BuildArmComputeTensor(*m_ProjectionBiasTensor, m_Data.m_ProjectionBias->GetTensorInfo()); in NeonLstmFloatWorkload() 95 … m_Data.m_ProjectionBias != nullptr ? m_ProjectionBiasTensor.get() : nullptr); in NeonLstmFloatWorkload() 215 if (m_Data.m_ProjectionBias != nullptr) in NeonLstmFloatWorkload() 218 m_Data.m_ProjectionBias); in NeonLstmFloatWorkload() 326 if (paramsInfo.m_ProjectionBias != nullptr) in NeonLstmFloatWorkloadValidate() 333 paramsInfo.m_ProjectionBias != nullptr ? in NeonLstmFloatWorkloadValidate()
|
D | NeonUnidirectionalSequenceLstmFloatWorkload.cpp | 208 if (m_Data.m_ProjectionBias != nullptr) in NeonUnidirectionalSequenceLstmFloatWorkload() 210 … BuildArmComputeTensor(*m_ProjectionBiasTensor, m_Data.m_ProjectionBias->GetTensorInfo()); in NeonUnidirectionalSequenceLstmFloatWorkload() 214 … m_Data.m_ProjectionBias ? m_ProjectionBiasTensor.get() : nullptr); in NeonUnidirectionalSequenceLstmFloatWorkload() 378 if (m_Data.m_ProjectionBias != nullptr) in NeonUnidirectionalSequenceLstmFloatWorkload() 380 InitializeArmComputeTensorData(*m_ProjectionBiasTensor, m_Data.m_ProjectionBias); in NeonUnidirectionalSequenceLstmFloatWorkload() 674 if (paramsInfo.m_ProjectionBias != nullptr) in NeonUnidirectionalSequenceLstmFloatWorkloadValidate() 681 … paramsInfo.m_ProjectionBias ? &aclProjectionBiasInfo : nullptr); in NeonUnidirectionalSequenceLstmFloatWorkloadValidate()
|
D | NeonUnidirectionalSequenceLstmWorkload.cpp | 220 if (m_Data.m_ProjectionBias != nullptr) in NeonUnidirectionalSequenceLstmWorkload() 222 … BuildArmComputeTensor(*m_ProjectionBiasTensor, m_Data.m_ProjectionBias->GetTensorInfo()); in NeonUnidirectionalSequenceLstmWorkload() 226 … m_Data.m_ProjectionBias ? m_ProjectionBiasTensor.get() : nullptr); in NeonUnidirectionalSequenceLstmWorkload() 359 if (m_Data.m_ProjectionBias != nullptr) in NeonUnidirectionalSequenceLstmWorkload() 361 InitializeArmComputeTensorData(*m_ProjectionBiasTensor, m_Data.m_ProjectionBias); in NeonUnidirectionalSequenceLstmWorkload() 656 if (paramsInfo.m_ProjectionBias != nullptr) in NeonUnidirectionalSequenceLstmWorkloadValidate() 663 … paramsInfo.m_ProjectionBias ? &aclProjectionBiasInfo : nullptr); in NeonUnidirectionalSequenceLstmWorkloadValidate()
|
/external/armnn/src/backends/cl/workloads/ |
D | ClQLstmWorkload.cpp | 86 if (m_Data.m_ProjectionBias != nullptr) in ClQLstmWorkload() 88 … BuildArmComputeTensor(*m_ProjectionBiasTensor, m_Data.m_ProjectionBias->GetTensorInfo()); in ClQLstmWorkload() 94 m_Data.m_ProjectionBias != nullptr ? m_ProjectionBiasTensor.get() : nullptr); in ClQLstmWorkload() 208 if (m_Data.m_ProjectionBias != nullptr) in ClQLstmWorkload() 210 InitializeArmComputeClTensorData(*m_ProjectionBiasTensor, m_Data.m_ProjectionBias); in ClQLstmWorkload() 325 if (paramsInfo.m_ProjectionBias != nullptr) in ClQLstmWorkloadValidate() 333 paramsInfo.m_ProjectionBias != nullptr ? &aclProjectionBiasInfo : nullptr); in ClQLstmWorkloadValidate()
|
D | ClLstmFloatWorkload.cpp | 94 if (m_Data.m_ProjectionBias != nullptr) in ClLstmFloatWorkload() 96 … BuildArmComputeTensor(*m_ProjectionBiasTensor, m_Data.m_ProjectionBias->GetTensorInfo()); in ClLstmFloatWorkload() 100 … m_Data.m_ProjectionBias != nullptr ? m_ProjectionBiasTensor.get() : nullptr); in ClLstmFloatWorkload() 208 if (m_Data.m_ProjectionBias != nullptr) in ClLstmFloatWorkload() 210 InitializeArmComputeClTensorData(*m_ProjectionBiasTensor, m_Data.m_ProjectionBias); in ClLstmFloatWorkload() 311 if (paramsInfo.m_ProjectionBias != nullptr) in ClLstmFloatWorkloadValidate() 316 paramsInfo.m_ProjectionBias != nullptr ? in ClLstmFloatWorkloadValidate()
|
D | ClUnidirectionalSequenceLstmFloatWorkload.cpp | 210 if (m_Data.m_ProjectionBias != nullptr) in ClUnidirectionalSequenceLstmFloatWorkload() 212 … BuildArmComputeTensor(*m_ProjectionBiasTensor, m_Data.m_ProjectionBias->GetTensorInfo()); in ClUnidirectionalSequenceLstmFloatWorkload() 216 … m_Data.m_ProjectionBias ? m_ProjectionBiasTensor.get() : nullptr); in ClUnidirectionalSequenceLstmFloatWorkload() 375 if (m_Data.m_ProjectionBias != nullptr) in ClUnidirectionalSequenceLstmFloatWorkload() 377 InitializeArmComputeClTensorData(*m_ProjectionBiasTensor, m_Data.m_ProjectionBias); in ClUnidirectionalSequenceLstmFloatWorkload() 677 if (paramsInfo.m_ProjectionBias != nullptr) in ClUnidirectionalSequenceLstmFloatWorkloadValidate() 684 … paramsInfo.m_ProjectionBias ? &aclProjectionBiasInfo : nullptr); in ClUnidirectionalSequenceLstmFloatWorkloadValidate()
|
/external/armnn/include/armnn/backends/ |
D | WorkloadData.hpp | 414 , m_ProjectionBias(nullptr) in LstmQueueDescriptor() 438 const ConstTensorHandle* m_ProjectionBias; member 576 , m_ProjectionBias(nullptr) in QLstmQueueDescriptor() 600 const ConstTensorHandle* m_ProjectionBias; member 710 , m_ProjectionBias(nullptr) in UnidirectionalSequenceLstmQueueDescriptor() 734 const ConstTensorHandle* m_ProjectionBias; member
|
/external/armnn/delegate/classic/src/ |
D | Lstm.hpp | 108 params.m_ProjectionBias = GetConstTensorForTfLiteTensor(tfLiteTensors, tfLiteNode, 17); in VisitLstmOperator() 195 if (params.m_ProjectionBias != nullptr) in VisitLstmOperator() 197 paramsInfo.m_ProjectionBias = &(params.m_ProjectionBias->GetInfo()); in VisitLstmOperator()
|
D | UnidirectionalSequenceLstm.hpp | 110 params.m_ProjectionBias = GetConstTensorForTfLiteTensor(tfLiteTensors, tfLiteNode, 17); in VisitUnidirectionalSequenceLstmOperator() 232 if (params.m_ProjectionBias != nullptr) in VisitUnidirectionalSequenceLstmOperator() 234 paramsInfo.m_ProjectionBias = &(params.m_ProjectionBias->GetInfo()); in VisitUnidirectionalSequenceLstmOperator()
|
/external/android-nn-driver/ |
D | ConversionUtils_1_3.hpp | 551 params.m_ProjectionBias = projectionBiasPin.GetConstTensorPtr(); in ConvertQuantizedLstm() 588 if (!desc.m_ProjectionEnabled && params.m_ProjectionBias != nullptr) in ConvertQuantizedLstm() 651 if (params.m_ProjectionBias != nullptr) in ConvertQuantizedLstm() 653 paramsInfo.m_ProjectionBias = &(params.m_ProjectionBias->GetInfo()); in ConvertQuantizedLstm()
|
D | ConversionUtils_1_2.hpp | 2703 params.m_ProjectionBias = projectionBiasPin.GetConstTensorPtr(); in ConvertLstm() 2735 if (!desc.m_ProjectionEnabled && params.m_ProjectionBias != nullptr) in ConvertLstm() 2798 if (params.m_ProjectionBias != nullptr) in ConvertLstm() 2800 paramsInfo.m_ProjectionBias = &(params.m_ProjectionBias->GetInfo()); in ConvertLstm() 3369 params.m_ProjectionBias = projectionBiasPin.GetConstTensorPtr(); in ConvertUnidirectionalSequenceLstm() 3399 if (!desc.m_ProjectionEnabled && params.m_ProjectionBias != nullptr) in ConvertUnidirectionalSequenceLstm() 3471 if (params.m_ProjectionBias != nullptr) in ConvertUnidirectionalSequenceLstm() 3473 paramsInfo.m_ProjectionBias = &(params.m_ProjectionBias->GetInfo()); in ConvertUnidirectionalSequenceLstm()
|
/external/android-nn-driver/1.0/ |
D | HalPolicy.cpp | 380 params.m_ProjectionBias = projectionBiasPin.GetConstTensorPtr(); in ConvertLstm() 404 if (!desc.m_ProjectionEnabled && params.m_ProjectionBias != nullptr) in ConvertLstm() 457 if (params.m_ProjectionBias != nullptr) in ConvertLstm() 459 paramsInfo.m_ProjectionBias = &(params.m_ProjectionBias->GetInfo()); in ConvertLstm()
|
/external/armnn/python/pyarmnn/src/pyarmnn/swig/modules/ |
D | armnn_lstmparam.i | 92 const armnn::ConstTensor* m_ProjectionBias; member
|
/external/armnn/src/armnn/test/ |
D | ConstTensorLayerVisitor.hpp | 291 inputParams.m_ProjectionBias, in CheckInputParameters() 292 layer->m_ProjectionParameters.m_ProjectionBias); in CheckInputParameters()
|
/external/armnn/src/backends/backendsCommon/ |
D | WorkloadData.cpp | 2144 if (m_ProjectionBias) in Validate() 2146 … ValidateTensorNumDimNumElem(m_ProjectionBias->GetTensorInfo(), 1, n_output, "ProjectionBias"); in Validate() 2153 bool projecton_tensors_consistent = ((!m_ProjectionWeights && !m_ProjectionBias && in Validate() 2155 || (m_ProjectionWeights && !m_ProjectionBias && in Validate() 2157 || (m_ProjectionWeights && m_ProjectionBias && in Validate() 3303 ((!m_ProjectionWeights && !m_ProjectionBias && !m_Parameters.m_ProjectionEnabled) || in Validate() 3304 (m_ProjectionWeights && !m_ProjectionBias && m_Parameters.m_ProjectionEnabled) || in Validate() 3305 (m_ProjectionWeights && m_ProjectionBias && m_Parameters.m_ProjectionEnabled)); in Validate() 3321 if (m_ProjectionBias) in Validate() 3323 auto projectionBiasInfo = m_ProjectionBias->GetTensorInfo(); in Validate() [all …]
|
D | WorkloadFactory.cpp | 701 if (cLayer->m_ProjectionParameters.m_ProjectionBias != nullptr) in IsLayerConfigurationSupported() 704 … OverrideDataType(cLayer->m_ProjectionParameters.m_ProjectionBias->GetTensorInfo(), dataType); in IsLayerConfigurationSupported() 705 paramsInfo.m_ProjectionBias = &optProjectionBias; in IsLayerConfigurationSupported() 979 if (cLayer->m_ProjectionParameters.m_ProjectionBias != nullptr) in IsLayerConfigurationSupported() 981 … paramsInfo.m_ProjectionBias = &cLayer->m_ProjectionParameters.m_ProjectionBias->GetTensorInfo(); in IsLayerConfigurationSupported() 1479 if (cLayer->m_ProjectionParameters.m_ProjectionBias != nullptr) in IsLayerConfigurationSupported() 1482 … OverrideDataType(cLayer->m_ProjectionParameters.m_ProjectionBias->GetTensorInfo(), dataType); in IsLayerConfigurationSupported() 1483 paramsInfo.m_ProjectionBias = &optProjectionBias; in IsLayerConfigurationSupported()
|
/external/armnn/src/armnn/ |
D | Network.cpp | 2389 if(params.m_ProjectionBias != nullptr) in AddLstmLayer() 2391 layer->m_ProjectionParameters.m_ProjectionBias = in AddLstmLayer() 2392 std::make_shared<ScopedTensorHandle>(*(params.m_ProjectionBias)); in AddLstmLayer() 2673 if(params.m_ProjectionBias != nullptr) in AddQLstmLayer() 2675 layer->m_ProjectionParameters.m_ProjectionBias = in AddQLstmLayer() 2676 std::make_shared<ScopedTensorHandle>(*(params.m_ProjectionBias)); in AddQLstmLayer() 2820 if(params.m_ProjectionBias != nullptr) in AddUnidirectionalSequenceLstmLayer() 2822 layer->m_ProjectionParameters.m_ProjectionBias = in AddUnidirectionalSequenceLstmLayer() 2823 std::make_shared<ScopedTensorHandle>(*(params.m_ProjectionBias)); in AddUnidirectionalSequenceLstmLayer()
|
/external/armnn/src/armnnSerializer/test/ |
D | LstmSerializationTests.cpp | 60 lstmInputParams.m_ProjectionBias = &constants[i++]; in ConstantVector2LstmInputParams() 163 "m_ProjectionBias", m_InputParams.m_ProjectionBias, params.m_ProjectionBias); in VerifyInputParameters() 382 params.m_ProjectionBias = &projectionBias; 541 params.m_ProjectionBias = &projectionBias; 1314 params.m_ProjectionBias = &projectionBias; 2154 params.m_ProjectionBias = &projectionBias; 2424 params.m_ProjectionBias = &projectionBias; 2578 params.m_ProjectionBias = &projectionBias;
|