ArmNN
 24.02
NeonResizeWorkload.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2017 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include "NeonBaseWorkload.hpp"
9 
10 #include <arm_compute/runtime/NEON/functions/NEScale.h>
11 
12 namespace armnn
13 {
14 
15 arm_compute::Status NeonResizeWorkloadValidate(const TensorInfo& input,
16  const TensorInfo& output,
17  const ResizeDescriptor& descriptor);
18 
19 class NeonResizeWorkload : public NeonBaseWorkload<ResizeQueueDescriptor>
20 {
21 public:
22  NeonResizeWorkload(const ResizeQueueDescriptor& descriptor, const WorkloadInfo& info);
23  void Execute() const override;
24 
25 private:
26  mutable arm_compute::NEScale m_ResizeLayer;
27 };
28 
29 } //namespace armnn
armnn::NeonResizeWorkload
Definition: NeonResizeWorkload.hpp:19
NeonBaseWorkload.hpp
armnn::NeonResizeWorkloadValidate
arm_compute::Status NeonResizeWorkloadValidate(const TensorInfo &input, const TensorInfo &output, const ResizeDescriptor &descriptor)
Definition: NeonResizeWorkload.cpp:22
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition: WorkloadInfo.hpp:16
armnn::BoostLogSeverityMapping::info
@ info
armnn::NeonResizeWorkload::Execute
void Execute() const override
Definition: NeonResizeWorkload.cpp:90
armnn::Status
Status
Definition: Types.hpp:42
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6
armnn::NeonResizeWorkload::NeonResizeWorkload
NeonResizeWorkload(const ResizeQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition: NeonResizeWorkload.cpp:52
armnn::NeonBaseWorkload
Definition: NeonBaseWorkload.hpp:13
armnn::ResizeQueueDescriptor
Definition: WorkloadData.hpp:334