17 using namespace armcomputetensorutils;
24 const arm_compute::TensorInfo aclInput = BuildArmComputeTensorInfo(input, dataLayout);
25 const arm_compute::TensorInfo aclOutput = BuildArmComputeTensorInfo(output, dataLayout);
27 int32_t blockSize = armnn::numeric_cast<int32_t>(descriptor.
m_BlockSize);
29 return arm_compute::NEDepthToSpaceLayer::validate(&aclInput, &aclOutput, blockSize);
46 arm_compute::ITensor& input =
47 PolymorphicPointerDowncast<IAclTensorHandle>(
m_Data.
m_Inputs[0])->GetTensor();
48 input.info()->set_data_layout(aclDataLayout);
52 arm_compute::ITensor& output =
53 PolymorphicPointerDowncast<IAclTensorHandle>(
m_Data.
m_Outputs[0])->GetTensor();
54 output.info()->set_data_layout(aclDataLayout);
56 m_Layer.configure(&input, &output, blockSize);