ArmNN
 21.08
BatchToSpaceNd.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include "BaseIterator.hpp"
9 #include "Decoders.hpp"
10 #include "Encoders.hpp"
11 
12 #include <armnn/Types.hpp>
13 
15 
18 
19 namespace armnn
20 {
21 
22 void BatchToSpaceNd(const armnnUtils::DataLayoutIndexed& dataLayout,
23  const TensorInfo& inputTensorInfo,
24  const TensorInfo& outputTensorInfo,
25  const std::vector<unsigned int>& blockShape,
26  const std::vector<std::pair<unsigned int, unsigned int>>& cropsData,
27  Decoder<float>& inputDecoder,
28  Encoder<float>& outputEncoder);
29 } // namespace armnn
Copyright (c) 2021 ARM Limited and Contributors.
Provides access to the appropriate indexes for Channels, Height and Width based on DataLayout...
void BatchToSpaceNd(const DataLayoutIndexed &dataLayout, const TensorInfo &inputTensorInfo, const TensorInfo &outputTensorInfo, const std::vector< unsigned int > &blockShape, const std::vector< std::pair< unsigned int, unsigned int >> &cropsData, Decoder< float > &inputDecoder, Encoder< float > &outputEncoder)