14 using namespace armcomputetensorutils;
19 const arm_compute::TensorInfo aclInputInfo = BuildArmComputeTensorInfo(input, descriptor.
m_DataLayout);
20 const arm_compute::TensorInfo aclOutputInfo = BuildArmComputeTensorInfo(output, descriptor.
m_DataLayout);
21 arm_compute::Pooling3dLayerInfo layerInfo = BuildArmComputePooling3dLayerInfo(descriptor);
22 return arm_compute::NEPooling3dLayer::validate(&aclInputInfo, &aclOutputInfo, layerInfo);
41 input.info()->set_data_layout(aclDataLayout);
42 output.info()->set_data_layout(aclDataLayout);
47 bool fpMixedPrecision =
false;
49 arm_compute::Pooling3dLayerInfo layerInfo = BuildArmComputePooling3dLayerInfo(
m_Data.
m_Parameters,
54 auto layer = std::make_unique<arm_compute::NEPooling3dLayer>();
55 layer->configure(&input, &output, layerInfo);
56 m_PoolingLayer.reset(layer.release());
62 m_PoolingLayer->run();