1 // 2 // Copyright © 2022 Arm Ltd and Contributors. All rights reserved. 3 // SPDX-License-Identifier: MIT 4 // 5 6 #pragma once 7 8 #include "RefBaseWorkload.hpp" 9 #include <armnn/backends/WorkloadData.hpp> 10 11 namespace armnn 12 { 13 14 class RefPreluWorkload : public RefBaseWorkload<PreluQueueDescriptor> 15 { 16 public: 17 explicit RefPreluWorkload(const PreluQueueDescriptor& descriptor, 18 const WorkloadInfo& info); 19 void Execute() const override; 20 void ExecuteAsync(ExecutionData& executionData) override; 21 private: 22 void Execute(std::vector<ITensorHandle*> inputs, std::vector<ITensorHandle*> outputs) const; 23 }; 24 25 } // namespace armnn 26