From 6940dd720ebb6b3d1df8ca203ab696daefe58189 Mon Sep 17 00:00:00 2001 From: Jim Flynn Date: Fri, 20 Mar 2020 12:25:56 +0000 Subject: renamed Documentation folder 20.02 and added .nojekyll file Signed-off-by: Jim Flynn --- 20.02/_quantization_input_8hpp_source.xhtml | 126 ++++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 20.02/_quantization_input_8hpp_source.xhtml (limited to '20.02/_quantization_input_8hpp_source.xhtml') diff --git a/20.02/_quantization_input_8hpp_source.xhtml b/20.02/_quantization_input_8hpp_source.xhtml new file mode 100644 index 0000000000..149731eb36 --- /dev/null +++ b/20.02/_quantization_input_8hpp_source.xhtml @@ -0,0 +1,126 @@ + + + + + + + + + + + + + +ArmNN: src/armnnQuantizer/QuantizationInput.hpp Source File + + + + + + + + + + + + + + + + +
+
+ + + + ArmNN + + + +
+
+  20.02 +
+
+
+ + + + + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+ +
+ +
+
+
QuantizationInput.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 
8 #include <map>
9 #include <armnn/Types.hpp>
11 
12 namespace armnnQuantizer
13 {
14 
15 /// QuantizationInput for specific pass ID, can list a corresponding raw data file for each LayerBindingId.
17 {
18 public:
19 
20  /// Constructor for QuantizationInput
21  QuantizationInput(const unsigned int passId,
22  const armnn::LayerBindingId bindingId,
23  const std::string fileName);
24 
26 
27  // Add binding ID to image tensor filepath entry
28  void AddEntry(const armnn::LayerBindingId bindingId, const std::string fileName);
29 
30  // Retrieve tensor data for entry with provided binding ID
31  std::vector<float> GetDataForEntry(const armnn::LayerBindingId bindingId) const;
32 
33  /// Retrieve Layer Binding IDs for this QuantizationInput.
34  std::vector<armnn::LayerBindingId> GetLayerBindingIds() const;
35 
36  /// Get number of inputs for this QuantizationInput.
37  unsigned long GetNumberOfInputs() const;
38 
39  /// Retrieve Pass ID for this QuantizationInput.
40  unsigned int GetPassId() const;
41 
42  /// Retrieve filename path for specified Layer Binding ID.
43  std::string GetFileName(const armnn::LayerBindingId bindingId) const;
44 
45  /// Destructor
46  ~QuantizationInput() noexcept;
47 
48 private:
49  unsigned int m_PassId;
50  std::map<armnn::LayerBindingId, std::string> m_LayerBindingIdToFileName;
51 
52 };
53 
54 }
QuantizationInput(const unsigned int passId, const armnn::LayerBindingId bindingId, const std::string fileName)
Constructor for QuantizationInput.
+
void AddEntry(const armnn::LayerBindingId bindingId, const std::string fileName)
+
QuantizationInput for specific pass ID, can list a corresponding raw data file for each LayerBindingI...
+
~QuantizationInput() noexcept
Destructor.
+
std::vector< float > GetDataForEntry(const armnn::LayerBindingId bindingId) const
+
int LayerBindingId
Type of identifiers for bindable layers (inputs, outputs).
Definition: Types.hpp:171
+ +
std::vector< armnn::LayerBindingId > GetLayerBindingIds() const
Retrieve Layer Binding IDs for this QuantizationInput.
+ +
unsigned long GetNumberOfInputs() const
Get number of inputs for this QuantizationInput.
+
std::string GetFileName(const armnn::LayerBindingId bindingId) const
Retrieve filename path for specified Layer Binding ID.
+
unsigned int GetPassId() const
Retrieve Pass ID for this QuantizationInput.
+ +
+
+ + + + -- cgit v1.2.1