Home
last modified time | relevance | path

Searched refs:m_Gamma (Results 1 – 25 of 38) sorted by relevance

12

/external/armnn/src/armnn/layers/
DBatchNormalizationLayer.cpp27 ARMNN_ASSERT_MSG(m_Gamma != nullptr, "BatchNormalizationLayer: Gamma data should not be null."); in CreateWorkload()
35 descriptor.m_Gamma = m_Gamma.get(); in CreateWorkload()
47 layer->m_Gamma = m_Gamma ? m_Gamma : nullptr; in Clone()
71 return {m_Mean, m_Variance, m_Beta, m_Gamma}; in GetConstantTensorsByRef()
79 ManagedConstTensorHandle managedGamma(m_Gamma); in ExecuteStrategy()
DBatchNormalizationLayer.hpp25 std::shared_ptr<ConstTensorHandle> m_Gamma; member in armnn::BatchNormalizationLayer
/external/armnn/src/backends/neon/workloads/
DNeonBatchNormalizationWorkload.cpp84 m_Gamma = std::make_unique<arm_compute::Tensor>(); in NeonBatchNormalizationWorkload()
85 BuildArmComputeTensor(*m_Gamma, m_Data.m_Gamma->GetTensorInfo()); in NeonBatchNormalizationWorkload()
98 m_Gamma.get(), in NeonBatchNormalizationWorkload()
105 InitializeArmComputeTensorData(*m_Gamma, m_Data.m_Gamma); in NeonBatchNormalizationWorkload()
124 FreeTensorIfUnused(m_Gamma); in FreeUnusedTensors()
DNeonInstanceNormalizationWorkload.cpp28 descriptor.m_Gamma, in NeonInstanceNormalizationWorkloadValidate()
55 descriptor.m_Parameters.m_Gamma, in NeonInstanceNormalizationWorkload()
DNeonBatchNormalizationWorkload.hpp39 std::unique_ptr<arm_compute::Tensor> m_Gamma; member in armnn::NeonBatchNormalizationWorkload
/external/armnn/src/backends/cl/workloads/
DClBatchNormalizationFloatWorkload.cpp72 m_Gamma = std::make_unique<arm_compute::CLTensor>(); in ClBatchNormalizationFloatWorkload()
73 BuildArmComputeTensor(*m_Gamma, m_Data.m_Gamma->GetTensorInfo()); in ClBatchNormalizationFloatWorkload()
97 m_Gamma.get(), in ClBatchNormalizationFloatWorkload()
105 InitializeArmComputeClTensorData(*m_Gamma, m_Data.m_Gamma); in ClBatchNormalizationFloatWorkload()
123 FreeTensorIfUnused(m_Gamma); in FreeUnusedTensors()
DClInstanceNormalizationWorkload.cpp27 descriptor.m_Gamma, in ClInstanceNormalizationWorkloadValidate()
58 descriptor.m_Parameters.m_Gamma, in ClInstanceNormalizationWorkload()
DClBatchNormalizationFloatWorkload.hpp46 std::unique_ptr<arm_compute::CLTensor> m_Gamma; member in armnn::ClBatchNormalizationFloatWorkload
/external/armnn/src/backends/reference/workloads/
DRefBatchNormalizationWorkload.cpp22 , m_Gamma (std::make_unique<ScopedTensorHandle>(*(descriptor.m_Gamma))) in RefBatchNormalizationWorkload()
45 std::unique_ptr<Decoder<float>> gammaDecoder = MakeDecoder<float>(m_Gamma->GetTensorInfo(), in Execute()
46 m_Gamma->Map(true)); in Execute()
DRefBatchNormalizationWorkload.hpp27 std::unique_ptr<ScopedTensorHandle> m_Gamma; member in armnn::RefBatchNormalizationWorkload
DInstanceNorm.cpp34 float gamma = data.m_Parameters.m_Gamma; in InstanceNorm()
/external/armnn/src/backends/backendsCommon/test/
DLayerReleaseConstantDataTest.cpp39 layer->m_Gamma = std::make_unique<ScopedTensorHandle>(weightInfo);
43 layer->m_Gamma->Allocate();
58 CHECK(layer->m_Gamma != nullptr);
67 CHECK(layer->m_Gamma == nullptr);
DInstanceNormalizationEndToEndTestImpl.cpp42 instanceNormalizationDesc.m_Gamma = gamma; in CreateInstanceNormalizationNetwork()
/external/pdfium/core/fpdfapi/page/
Dcpdf_colorspace.cpp144 float m_Gamma = kDefaultGamma; member in __anonec9a512f0111::CPDF_CalGray
177 float m_Gamma[kGammaCount] = {}; member in __anonec9a512f0111::CPDF_CalRGB
656 m_Gamma = pDict->GetFloatFor("Gamma"); in v_Load()
657 if (m_Gamma == 0) in v_Load()
658 m_Gamma = kDefaultGamma; in v_Load()
708 for (size_t i = 0; i < std::size(m_Gamma); ++i) in v_Load()
709 m_Gamma[i] = pGamma->GetFloatAt(i); in v_Load()
729 A_ = powf(A_, m_Gamma[0]); in GetRGB()
730 B_ = powf(B_, m_Gamma[1]); in GetRGB()
731 C_ = powf(C_, m_Gamma[2]); in GetRGB()
/external/armnn/src/armnn/test/
DConstTensorLayerVisitor.hpp156 , m_Gamma(gamma) in TestBatchNormalizationLayerVisitor()
176 CheckConstTensors(m_Gamma, constants[3]); in ExecuteStrategy()
194 ConstTensor m_Gamma; member in armnn::TestBatchNormalizationLayerVisitor
DTestNameAndDescriptorLayerVisitor.cpp112 descriptor.m_Gamma = 1.0f; in GetDescriptor()
/external/armnn/src/backends/backendsCommon/test/layerTests/
DInstanceNormalizationTestImpl.cpp140 descriptor.m_Parameters.m_Gamma = 1.0f; in InstanceNormTest()
226 descriptor.m_Parameters.m_Gamma = 2.0f; in InstanceNormTest2()
DBatchNormalizationTestImpl.cpp84 descriptor.m_Gamma = &gammaTensor; in BatchNormTestImpl()
179 data.m_Gamma = &gammaTensor; in BatchNormTestNhwcImpl()
669 data.m_Gamma = &gammaTensor; in CompareBatchNormTest()
/external/armnn/src/armnn/optimizations/
DFuseBatchNorm.hpp49 …ConstTensor gammaTensor(batchNormLayer->m_Gamma->GetTensorInfo(), batchNormLayer->m_Gamma->Map(tru… in Run()
/external/armnn/src/backends/neon/
DNeonBackend.cpp293 baseLayer->m_Gamma->GetTensorInfo(), in OptimizeSubgraphView()
307 replacementLayer->m_Gamma = std::move(baseLayer->m_Gamma); in OptimizeSubgraphView()
/external/armnn/src/backends/cl/test/
DOpenClTimerTest.cpp96 data.m_Gamma = &gammaTensor;
/external/armnn/include/armnn/
DDescriptors.hpp838 : m_Gamma(1.0f) in InstanceNormalizationDescriptor()
846 return m_Gamma == rhs.m_Gamma && in operator ==()
853 float m_Gamma; member
/external/armnn/src/backends/cl/
DClBackend.cpp441 baseLayer->m_Gamma->GetTensorInfo(), in OptimizeSubgraphView()
455 replacementLayer->m_Gamma = std::move(baseLayer->m_Gamma); in OptimizeSubgraphView()
/external/armnn/include/armnn/backends/
DWorkloadData.hpp312 , m_Gamma(nullptr) in BatchNormalizationQueueDescriptor()
319 const ConstTensorHandle* m_Gamma; member
/external/armnn/src/armnnTestUtils/
DCreateWorkload.hpp394 layer->m_Gamma = std::make_unique<ScopedTensorHandle>(weightInfo); in CreateBatchNormalizationWorkloadTest()
398 layer->m_Gamma->Allocate(); in CreateBatchNormalizationWorkloadTest()
418 CHECK((queueDescriptor.m_Gamma->GetTensorInfo() == TensorInfo({3}, DataType))); in CreateBatchNormalizationWorkloadTest()
452 layer->m_Gamma = std::make_unique<ScopedTensorHandle>(weightInfo); in CreateBatchNormalizationWithBlobWorkloadTest()
456 layer->m_Gamma->Allocate(); in CreateBatchNormalizationWithBlobWorkloadTest()
499 CHECK((queueDescriptor.m_Gamma->GetTensorInfo() == TensorInfo({3}, DataType))); in CreateBatchNormalizationWithBlobWorkloadTest()

12