ArmNN
 20.05
RefComparisonWorkload.hpp
Go to the documentation of this file.
1 //
2 // Copyright © 2019 Arm Ltd. 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 RefComparisonWorkload : public BaseWorkload<ComparisonQueueDescriptor>
17 {
18 public:
20 
22  void PostAllocationConfigure() override;
23  void Execute() const override;
24 
25 private:
26  using InType = float;
27  using OutType = bool;
28 
29  std::unique_ptr<Decoder<InType>> m_Input0;
30  std::unique_ptr<Decoder<InType>> m_Input1;
31  std::unique_ptr<Encoder<OutType>> m_Output;
32 };
33 
34 } // namespace armnn
Copyright (c) 2020 ARM Limited.
RefComparisonWorkload(const ComparisonQueueDescriptor &descriptor, const WorkloadInfo &info)
Contains information about inputs and outputs to a layer.