ArmNN
 24.02
NeonFloorFloatWorkload.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 
9 
10 #include <arm_compute/runtime/IFunction.h>
11 #include <arm_compute/runtime/Tensor.h>
12 
13 #include <memory>
14 
15 namespace armnn
16 {
17 
18 class NeonFloorFloatWorkload : public FloatWorkload<FloorQueueDescriptor>
19 {
20 public:
22  virtual void Execute() const override;
23  // Replace input tensor handle with the given TensorHandle
24  void ReplaceInputTensorHandle(ITensorHandle* tensorHandle, unsigned int slot) override;
25 
26  // Replace output tensor handle with the given TensorHandle
27  void ReplaceOutputTensorHandle(ITensorHandle* tensorHandle, unsigned int slot) override;
28 private:
29  std::unique_ptr<arm_compute::IFunction> m_Layer;
30  virtual void Reconfigure();
31 };
32 
33 } //namespace armnn
34 
35 
36 
37 
armnn::FloorQueueDescriptor
Definition: WorkloadData.hpp:395
armnn::ITensorHandle
Definition: ITensorHandle.hpp:16
armnn::TypedWorkload
Definition: Workload.hpp:101
armnn::NeonFloorFloatWorkload
Definition: NeonFloorFloatWorkload.hpp:18
armnn::NeonFloorFloatWorkload::ReplaceOutputTensorHandle
void ReplaceOutputTensorHandle(ITensorHandle *tensorHandle, unsigned int slot) override
Definition: NeonFloorFloatWorkload.cpp:53
armnn::NeonFloorFloatWorkload::Execute
virtual void Execute() const override
Definition: NeonFloorFloatWorkload.cpp:30
armnn::WorkloadInfo
Contains information about TensorInfos of a layer.
Definition: WorkloadInfo.hpp:16
Workload.hpp
armnn::BoostLogSeverityMapping::info
@ info
armnn::NeonFloorFloatWorkload::NeonFloorFloatWorkload
NeonFloorFloatWorkload(const FloorQueueDescriptor &descriptor, const WorkloadInfo &info)
Definition: NeonFloorFloatWorkload.cpp:16
armnn::NeonFloorFloatWorkload::ReplaceInputTensorHandle
void ReplaceInputTensorHandle(ITensorHandle *tensorHandle, unsigned int slot) override
Definition: NeonFloorFloatWorkload.cpp:36
armnn
Copyright (c) 2021 ARM Limited and Contributors.
Definition: 01_00_quick_start.dox:6