ArmNN
 21.02
RefQuantizeWorkload.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 #include "Decoders.hpp"
11 #include "Encoders.hpp"
12 
13 namespace armnn {
14 
15 class RefQuantizeWorkload : public BaseWorkload<QuantizeQueueDescriptor>
16 {
17 public:
19  void PostAllocationConfigure() override;
20  void Execute() const override;
21 
22 private:
23 
24  std::unique_ptr<Decoder<float>> m_InputDecoder;
25  std::unique_ptr<Encoder<float>> m_OutputEncoder;
26 
27  size_t m_NumElements;
28 };
29 
30 } //namespace armnn
Copyright (c) 2021 ARM Limited and Contributors.
void Execute() const override
Contains information about inputs and outputs to a layer.
RefQuantizeWorkload(const QuantizeQueueDescriptor &descriptor, const WorkloadInfo &info)