ArmNN
 21.08
RefPreluWorkload.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 
10 
11 namespace armnn
12 {
13 
14 class RefPreluWorkload : public BaseWorkload<PreluQueueDescriptor>
15 {
16 public:
17  explicit RefPreluWorkload(const PreluQueueDescriptor& descriptor,
18  const WorkloadInfo& info);
19  void Execute() const override;
20  void ExecuteAsync(WorkingMemDescriptor& workingMemDescriptor) override;
21 private:
22  void Execute(std::vector<ITensorHandle*> inputs, std::vector<ITensorHandle*> outputs) const;
23 };
24 
25 } // namespace armnn
Copyright (c) 2021 ARM Limited and Contributors.
void Execute() const override
void ExecuteAsync(WorkingMemDescriptor &workingMemDescriptor) override
RefPreluWorkload(const PreluQueueDescriptor &descriptor, const WorkloadInfo &info)
Contains information about TensorInfos of a layer.