12 #include <arm_compute/runtime/NEON/functions/NEReshapeLayer.h>
20 const arm_compute::TensorInfo aclInputInfo = armcomputetensorutils::BuildArmComputeTensorInfo(input);
21 const arm_compute::TensorInfo aclOutputInfo = armcomputetensorutils::BuildArmComputeTensorInfo(output);
23 return arm_compute::NEReshapeLayer::validate(&aclInputInfo, &aclOutputInfo);
32 arm_compute::ITensor& input = PolymorphicDowncast<IAclTensorHandle*>(
m_Data.
m_Inputs[0])->GetTensor();
33 arm_compute::ITensor& output = PolymorphicDowncast<IAclTensorHandle*>(
m_Data.
m_Outputs[0])->GetTensor();
35 auto layer = std::make_unique<arm_compute::NEReshapeLayer>();
36 layer->configure(&input, &output);
37 m_Layer.reset(layer.release());