13 #include <arm_compute/runtime/NEON/functions/NEL2NormalizeLayer.h>
17 using namespace armcomputetensorutils;
23 const arm_compute::TensorInfo aclInput = BuildArmComputeTensorInfo(input, descriptor.
m_DataLayout);
24 const arm_compute::TensorInfo aclOutput = BuildArmComputeTensorInfo(output, descriptor.
m_DataLayout);
28 return arm_compute::NEL2NormalizeLayer::validate(&aclInput, &aclOutput, axis, descriptor.
m_Eps);
32 const WorkloadInfo& info, std::shared_ptr<arm_compute::MemoryManagerOnDemand>& memoryManager)
43 arm_compute::ITensor& input = PolymorphicDowncast<IAclTensorHandle*>(
m_Data.
m_Inputs[0])->GetTensor();
44 arm_compute::ITensor& output = PolymorphicDowncast<IAclTensorHandle*>(
m_Data.
m_Outputs[0])->GetTensor();
47 input.info()->set_data_layout(aclDataLayout);
48 output.info()->set_data_layout(aclDataLayout);
52 auto layer = std::make_unique<arm_compute::NEL2NormalizeLayer>(memoryManager);
53 layer->configure(&input, &output, axis,
m_Data.m_Parameters.m_Eps);
54 m_Layer.reset(layer.release());
96 void NeonL2NormalizationFloatWorkload::Reconfigure()