25.11
Loading...
Searching...
No Matches
Resize.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
10
#include <
armnn/Tensor.hpp
>
11
12
#include <
armnnUtils/DataLayoutIndexed.hpp
>
13
14
namespace
armnn
15
{
16
17
void
Resize
(
Decoder<float>
& in,
18
const
TensorInfo
& inputInfo,
19
Encoder<float>
& out,
20
const
TensorInfo
& outputInfo,
21
armnnUtils::DataLayoutIndexed
dataLayout =
DataLayout::NCHW
,
22
ResizeMethod
resizeMethod =
ResizeMethod::NearestNeighbor
,
23
bool
alignCorners =
false
,
24
bool
halfPixelCenters =
false
);
25
26
}
// namespace armnn
BaseIterator.hpp
DataLayoutIndexed.hpp
Tensor.hpp
armnn::Decoder
Definition
BaseIterator.hpp:36
armnn::Encoder
Definition
BaseIterator.hpp:51
armnn::TensorInfo
Definition
Tensor.hpp:153
armnnUtils::DataLayoutIndexed
Provides access to the appropriate indexes for Channels, Height and Width based on DataLayout.
Definition
DataLayoutIndexed.hpp:18
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition
01_00_quick_start.dox:7
armnn::LayerType::Resize
@ Resize
Definition
Types.hpp:496
armnn::ResizeMethod
ResizeMethod
Definition
Types.hpp:168
armnn::ResizeMethod::NearestNeighbor
@ NearestNeighbor
Definition
Types.hpp:170
armnn::DataLayout::NCHW
@ NCHW
Definition
Types.hpp:64
src
backends
reference
workloads
Resize.hpp
Generated on
for Arm NN by
1.14.0