diff options
author | David Monahan <david.monahan@arm.com> | 2019-09-04 09:22:10 +0100 |
---|---|---|
committer | Narumol Prangnawarat <narumol.prangnawarat@arm.com> | 2019-09-16 10:41:06 +0000 |
commit | 4f1e8e47e29d42ed5862cccb29cf183853c4a86c (patch) | |
tree | d3f758b6647f3ba5a065d87ea3db4e5fc989d1bd /include/armnn/Exceptions.hpp | |
parent | 0718ee9f26219da5a1362c1060e7db3feae8b3ce (diff) | |
download | armnn-4f1e8e47e29d42ed5862cccb29cf183853c4a86c.tar.gz |
IVGCVSW-3687 Add INetworkProperties to LoadNetwork
* Allows users to specify if Import/Export should be used
Signed-off-by: David Monahan <david.monahan@arm.com>
Change-Id: I64da26a6acbeb91ef72d31b6ccc01bb1447f624d
Diffstat (limited to 'include/armnn/Exceptions.hpp')
-rw-r--r-- | include/armnn/Exceptions.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/armnn/Exceptions.hpp b/include/armnn/Exceptions.hpp index 1740a8c47d..f8e0b430a6 100644 --- a/include/armnn/Exceptions.hpp +++ b/include/armnn/Exceptions.hpp @@ -115,6 +115,16 @@ class RuntimeException : public Exception using Exception::Exception; }; +class MemoryImportException : public Exception +{ + using Exception::Exception; +}; + +class MemoryExportException : public Exception +{ + using Exception::Exception; +}; + template <typename ExceptionType> void ConditionalThrow(bool condition, const std::string& message) { |