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 /src/backends/cl/ClLayerSupport.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 'src/backends/cl/ClLayerSupport.hpp')
-rw-r--r-- | src/backends/cl/ClLayerSupport.hpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/backends/cl/ClLayerSupport.hpp b/src/backends/cl/ClLayerSupport.hpp index 80e8488b3b..314ac4c73f 100644 --- a/src/backends/cl/ClLayerSupport.hpp +++ b/src/backends/cl/ClLayerSupport.hpp @@ -9,8 +9,6 @@ #include <armnn/Tensor.hpp> #include <armnn/ArmNN.hpp> -#include <boost/optional.hpp> - namespace armnn { @@ -50,14 +48,14 @@ bool IsConvolution2dSupportedCl(const TensorInfo& input, const TensorInfo& output, const Convolution2dDescriptor& descriptor, const TensorInfo& weights, - const boost::optional<TensorInfo>& biases, + const Optional<TensorInfo>& biases, std::string* reasonIfUnsupported = nullptr); bool IsDepthwiseConvolutionSupportedCl(const TensorInfo& input, const TensorInfo& output, const DepthwiseConvolution2dDescriptor& descriptor, const TensorInfo& weights, - const boost::optional<TensorInfo>& biases, + const Optional<TensorInfo>& biases, std::string* reasonIfUnsupported = nullptr); bool IsDivisionSupportedCl(const TensorInfo& input0, |