ArmNN
 22.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 
void ReplaceOutputTensorHandle(ITensorHandle *tensorHandle, unsigned int slot) override
Copyright (c) 2021 ARM Limited and Contributors.
NeonFloorFloatWorkload(const FloorQueueDescriptor &descriptor, const WorkloadInfo &info)
void ReplaceInputTensorHandle(ITensorHandle *tensorHandle, unsigned int slot) override
Contains information about TensorInfos of a layer.
virtual void Execute() const override