aboutsummaryrefslogtreecommitdiff
path: root/src/backends/neon/NeonLayerSupport.hpp
diff options
context:
space:
mode:
authorDavid Beck <david.beck@arm.com>2018-10-04 15:43:17 +0100
committerMatthew Bentham <matthew.bentham@arm.com>2018-10-10 16:16:58 +0100
commit5eec11db435a94ba5046ba74edc5c9c412a64e9d (patch)
tree6a3d9b9126ae449fc5e83838b2eb1765a67d6aad /src/backends/neon/NeonLayerSupport.hpp
parentd806792f7fbdae2cfa8dcb1eb59b9400b84741da (diff)
downloadarmnn-5eec11db435a94ba5046ba74edc5c9c412a64e9d.tar.gz
IVGCVSW-1964 : replace optional biases with home-grown Optional
!android-nn-driver:151788 Change-Id: Ibdc41d09b8df05e7a0360dcb8a060860dfb1bd99
Diffstat (limited to 'src/backends/neon/NeonLayerSupport.hpp')
-rw-r--r--src/backends/neon/NeonLayerSupport.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/backends/neon/NeonLayerSupport.hpp b/src/backends/neon/NeonLayerSupport.hpp
index 439c45f59e..8b674c6460 100644
--- a/src/backends/neon/NeonLayerSupport.hpp
+++ b/src/backends/neon/NeonLayerSupport.hpp
@@ -8,8 +8,6 @@
#include <armnn/Types.hpp>
#include <armnn/Tensor.hpp>
-#include <boost/optional.hpp>
-
namespace armnn
{
@@ -53,7 +51,7 @@ bool IsConvolution2dSupportedNeon(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);
@@ -61,7 +59,7 @@ bool IsDepthwiseConvolutionSupportedNeon(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 IsDivisionSupportedNeon(const TensorInfo& input0,