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 /include/armnn/backends/Workload.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 'include/armnn/backends/Workload.hpp')
-rw-r--r-- | include/armnn/backends/Workload.hpp | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/include/armnn/backends/Workload.hpp b/include/armnn/backends/Workload.hpp index 07e1abb392..21109480dc 100644 --- a/include/armnn/backends/Workload.hpp +++ b/include/armnn/backends/Workload.hpp @@ -54,16 +54,23 @@ public: profiling::ProfilingGuid GetGuid() const final { return m_Guid; } + virtual bool SupportsTensorHandleReplacement() const override + { + return false; + } + // Replace input tensor handle with the given TensorHandle void ReplaceInputTensorHandle(ITensorHandle* tensorHandle, unsigned int slot) override { - m_Data.m_Inputs[slot] = tensorHandle; + armnn::IgnoreUnused(tensorHandle, slot); + throw armnn::UnimplementedException("ReplaceInputTensorHandle not implemented for this workload"); } // Replace output tensor handle with the given TensorHandle void ReplaceOutputTensorHandle(ITensorHandle* tensorHandle, unsigned int slot) override { - m_Data.m_Outputs[slot] = tensorHandle; + armnn::IgnoreUnused(tensorHandle, slot); + throw armnn::UnimplementedException("ReplaceOutputTensorHandle not implemented for this workload"); } protected: |