16 using namespace armcomputetensorutils;
22 const arm_compute::TensorInfo aclInputInfo = BuildArmComputeTensorInfo(input, descriptor.
m_DataLayout);
23 const arm_compute::TensorInfo aclOutputInfo = BuildArmComputeTensorInfo(output, descriptor.
m_DataLayout);
25 arm_compute::PoolingLayerInfo layerInfo = BuildArmComputePoolingLayerInfo(descriptor);
27 return arm_compute::CLPoolingLayer::validate(&aclInputInfo, &aclOutputInfo, layerInfo);
33 const arm_compute::CLCompileContext& clCompileContext)
48 input.info()->set_data_layout(aclDataLayout);
49 output.info()->set_data_layout(aclDataLayout);
54 bool fpMixedPrecision =
false;
56 arm_compute::PoolingLayerInfo layerInfo = BuildArmComputePoolingLayerInfo(
m_Data.
m_Parameters, fpMixedPrecision);
61 m_PoolingLayer.configure(clCompileContext, &input, &output, layerInfo);