aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNattapat Chaimanowong <nattapat.chaimanowong@arm.com>2018-12-03 16:06:49 +0000
committerNattapat Chaimanowong <nattapat.chaimanowong@arm.com>2018-12-03 16:06:49 +0000
commita9a1cf117072b8aa81e27bab4d1d3e356d8ea51d (patch)
treed8f6c92615a8f3821d732bb3ae229cd028f58c95 /include
parentde7055840ad27de2f60e80bf6e264705db4c0d19 (diff)
downloadarmnn-a9a1cf117072b8aa81e27bab4d1d3e356d8ea51d.tar.gz
IVGCVSW-2315 Add DebugLayer and no-op factory method
Change-Id: I5455b720565248ff94278e76887d63f8434a7b58
Diffstat (limited to 'include')
-rw-r--r--include/armnn/ILayerSupport.hpp4
-rw-r--r--include/armnn/LayerSupport.hpp7
2 files changed, 11 insertions, 0 deletions
diff --git a/include/armnn/ILayerSupport.hpp b/include/armnn/ILayerSupport.hpp
index eecaa43271..859eee25f8 100644
--- a/include/armnn/ILayerSupport.hpp
+++ b/include/armnn/ILayerSupport.hpp
@@ -64,6 +64,10 @@ public:
const Optional<TensorInfo>& biases,
Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const;
+ virtual bool IsDebugSupported(const TensorInfo& input,
+ const TensorInfo& output,
+ Optional<std::string&> reasonIfUnsupported = EmptyOptional()) const;
+
virtual bool IsDepthwiseConvolutionSupported(const TensorInfo& input,
const TensorInfo& output,
const DepthwiseConvolution2dDescriptor& descriptor,
diff --git a/include/armnn/LayerSupport.hpp b/include/armnn/LayerSupport.hpp
index 979579820a..45ba4979c9 100644
--- a/include/armnn/LayerSupport.hpp
+++ b/include/armnn/LayerSupport.hpp
@@ -79,6 +79,13 @@ bool IsConvolution2dSupported(const BackendId& backend,
size_t reasonIfUnsupportedMaxLength = 1024);
/// Deprecated in favor of IBackend and ILayerSupport interfaces
+bool IsDebugSupported(const BackendId& backend,
+ const TensorInfo& input,
+ const TensorInfo& output,
+ char* reasonIfUnsupported = nullptr,
+ size_t reasonIfUnsupportedMaxLength = 1024);
+
+/// Deprecated in favor of IBackend and ILayerSupport interfaces
bool IsDepthwiseConvolutionSupported(const BackendId& backend,
const TensorInfo& input,
const TensorInfo& output,