diff options
author | David Beck <david.beck@arm.com> | 2018-10-04 15:43:17 +0100 |
---|---|---|
committer | Matthew Bentham <matthew.bentham@arm.com> | 2018-10-10 16:16:58 +0100 |
commit | 5eec11db435a94ba5046ba74edc5c9c412a64e9d (patch) | |
tree | 6a3d9b9126ae449fc5e83838b2eb1765a67d6aad /include/armnn/Exceptions.hpp | |
parent | d806792f7fbdae2cfa8dcb1eb59b9400b84741da (diff) | |
download | armnn-5eec11db435a94ba5046ba74edc5c9c412a64e9d.tar.gz |
IVGCVSW-1964 : replace optional biases with home-grown Optional
!android-nn-driver:151788
Change-Id: Ibdc41d09b8df05e7a0360dcb8a060860dfb1bd99
Diffstat (limited to 'include/armnn/Exceptions.hpp')
-rw-r--r-- | include/armnn/Exceptions.hpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/armnn/Exceptions.hpp b/include/armnn/Exceptions.hpp index 4f3bea0e30..89b6f2cfbb 100644 --- a/include/armnn/Exceptions.hpp +++ b/include/armnn/Exceptions.hpp @@ -95,6 +95,11 @@ class GraphValidationException : public Exception using Exception::Exception; }; +class BadOptionalAccessException : public Exception +{ + using Exception::Exception; +}; + template <typename ExceptionType> void ConditionalThrow(bool condition, const std::string& message) { |