diff options
author | arovir01 <Aron.Virginas-Tar@arm.com> | 2018-08-28 17:40:45 +0100 |
---|---|---|
committer | Matthew Bentham <matthew.bentham@arm.com> | 2018-09-17 17:21:21 +0100 |
commit | a68241066c3e797dab70f515d2c55aaa74abf564 (patch) | |
tree | 9f5b70a02dcd7d5d61d58e2bf235ee473be53ce5 /src/armnn/backends/NeonLayerSupport.hpp | |
parent | c577f2c6a3b4ddb6ba87a882723c53a248afbeba (diff) | |
download | armnn-a68241066c3e797dab70f515d2c55aaa74abf564.tar.gz |
IVGCVSW-1324: Make biases truly optional for Conv2d and DepthwiseConvolution
!android-nn-driver:145961
Change-Id: I039ab0adc61725859514246365b5e5b5fa603eaa
Diffstat (limited to 'src/armnn/backends/NeonLayerSupport.hpp')
-rw-r--r-- | src/armnn/backends/NeonLayerSupport.hpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/armnn/backends/NeonLayerSupport.hpp b/src/armnn/backends/NeonLayerSupport.hpp index 6f9fe9c20e..45032444a4 100644 --- a/src/armnn/backends/NeonLayerSupport.hpp +++ b/src/armnn/backends/NeonLayerSupport.hpp @@ -8,6 +8,8 @@ #include <armnn/Types.hpp> #include <armnn/Tensor.hpp> +#include <boost/optional.hpp> + namespace armnn { @@ -46,7 +48,7 @@ bool IsConvolution2dSupportedNeon(const TensorInfo& input, const TensorInfo& output, const Convolution2dDescriptor& descriptor, const TensorInfo& weights, - const TensorInfo& biases, + const boost::optional<TensorInfo>& biases, std::string* reasonIfUnsupported = nullptr); @@ -54,7 +56,7 @@ bool IsDepthwiseConvolutionSupportedNeon(const TensorInfo& input, const TensorInfo& output, const DepthwiseConvolution2dDescriptor& descriptor, const TensorInfo& weights, - const TensorInfo& biases, + const boost::optional<TensorInfo>& biases, std::string* reasonIfUnsupported = nullptr); bool IsFullyConnectedSupportedNeon(const TensorInfo& input, |