ArmNN
 25.11
Loading...
Searching...
No Matches
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
15namespace armnn
16{
17
18class NeonFloorFloatWorkload : public FloatWorkload<FloorQueueDescriptor>
19{
20public:
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;
28private:
29 std::unique_ptr<arm_compute::IFunction> m_Layer;
30 virtual void Reconfigure();
31};
32
33} //namespace armnn
34
35
36
37
NeonFloorFloatWorkload(const FloorQueueDescriptor &descriptor, const WorkloadInfo &info)
void ReplaceInputTensorHandle(ITensorHandle *tensorHandle, unsigned int slot) override
void ReplaceOutputTensorHandle(ITensorHandle *tensorHandle, unsigned int slot) override
virtual void Execute() const override
Copyright (c) 2021 ARM Limited and Contributors.
TypedWorkload< QueueDescriptor, armnn::DataType::Float16, armnn::DataType::Float32 > FloatWorkload
Definition Workload.hpp:195
Contains information about TensorInfos of a layer.