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::NESpaceToDepthLayer::validate(&aclInput, &aclOutput, blockSize);
46 arm_compute::ITensor& input = PolymorphicDowncast<IAclTensorHandle*>(
m_Data.
m_Inputs[0])->GetTensor();
47 input.info()->set_data_layout(aclDataLayout);
51 arm_compute::ITensor& output = PolymorphicDowncast<IAclTensorHandle*>(
m_Data.
m_Outputs[0])->GetTensor();
52 output.info()->set_data_layout(aclDataLayout);
54 m_Layer.reset(
new arm_compute::NESpaceToDepthLayer());
55 m_Layer->configure(&input, &output, blockSize);