diff options
author | Kevin May <kevin.may@arm.com> | 2022-03-02 12:11:31 +0000 |
---|---|---|
committer | Kevin May <kevin.may@arm.com> | 2022-03-02 12:11:31 +0000 |
commit | 998a20832fd511de75c2cd935b7a0e851e91156d (patch) | |
tree | 0839bcc53555b06887708cb56429735b8315472d /src/armnn/LoadedNetwork.hpp | |
parent | 138a88cf568fbc420a310344903f7eb9dec8e1e3 (diff) | |
download | armnn-998a20832fd511de75c2cd935b7a0e851e91156d.tar.gz |
Typo in Guide
* Only file changed is shim/BuildGuideShimSupportLibrary.md
* All other files are merge squash from Arm NN 22.02
Signed-off-by: Kevin May <kevin.may@arm.com>
Change-Id: Id82a6e9ac8abf74c1073c08744712f50e98dece0
Diffstat (limited to 'src/armnn/LoadedNetwork.hpp')
-rw-r--r-- | src/armnn/LoadedNetwork.hpp | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/src/armnn/LoadedNetwork.hpp b/src/armnn/LoadedNetwork.hpp index f637dec8eb..dc2f4dc10f 100644 --- a/src/armnn/LoadedNetwork.hpp +++ b/src/armnn/LoadedNetwork.hpp @@ -204,8 +204,21 @@ private: // A set of vectors to record the workload queue indexes and their corresponding Input/Output Slot indexes // which are connected to Inputs and Outputs for the network. - std::unordered_map<LayerBindingId, std::pair<unsigned int, unsigned int>> m_InputWorkloadSlotPairs; - std::unordered_map<LayerBindingId, std::pair<unsigned int, unsigned int>> m_OutputWorkloadSlotPairs; + struct WorkloadIndices + { + unsigned int m_WorkloadIndex; + unsigned int m_SlotIndex; + }; + + struct OutputWorkloadIndices + { + WorkloadIndices m_OutputSlotIndices; + std::vector<WorkloadIndices> m_InputSlotIndices; + }; + std::unordered_map<LayerBindingId, std::vector<WorkloadIndices>> m_InputWorkloadSlotPairs; + std::unordered_map<LayerBindingId, OutputWorkloadIndices> m_OutputWorkloadSlotPairs; + std::vector<bool> m_IsInputImported; + std::vector<bool> m_IsOutputImported; }; |