ArmNN
 21.05
RefLogicalUnaryWorkload.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2020 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma once
7 
8 #include "BaseIterator.hpp"
9 
12 
13 namespace armnn
14 {
15 
16 class RefLogicalUnaryWorkload : public BaseWorkload<ElementwiseUnaryQueueDescriptor>
17 {
18 public:
20 
22  void Execute() const override;
23  void ExecuteAsync(WorkingMemDescriptor& workingMemDescriptor) override;
24 
25 private:
26  void Execute(std::vector<ITensorHandle*> inputs, std::vector<ITensorHandle*> outputs) const;
27  using InType = bool;
28  using OutType = bool;
29 };
30 
31 } // namespace armnn
Copyright (c) 2021 ARM Limited and Contributors.
RefLogicalUnaryWorkload(const ElementwiseUnaryQueueDescriptor &descriptor, const WorkloadInfo &info)
void ExecuteAsync(WorkingMemDescriptor &workingMemDescriptor) override
Contains information about inputs and outputs to a layer.