20 using namespace armcomputetensorutils;
27 const arm_compute::TensorInfo aclInputInfo = BuildArmComputeTensorInfo(input, dataLayout);
29 int32_t blockSize = armnn::numeric_cast<int32_t>(descriptor.
m_BlockSize);
31 const arm_compute::TensorInfo aclOutputInfo = BuildArmComputeTensorInfo(output, dataLayout);
33 const arm_compute::Status aclStatus = arm_compute::CLDepthToSpaceLayer::validate(&aclInputInfo,
41 const arm_compute::CLCompileContext& clCompileContext)
54 arm_compute::ICLTensor& input =
55 PolymorphicPointerDowncast<IClTensorHandle>(
m_Data.
m_Inputs[0])->GetTensor();
56 input.info()->set_data_layout(aclDataLayout);
60 arm_compute::ICLTensor& output =
61 PolymorphicPointerDowncast<IClTensorHandle>(
m_Data.
m_Outputs[0])->GetTensor();
62 output.info()->set_data_layout(aclDataLayout);
66 m_Layer.configure(clCompileContext, &input, &output, blockSize);