diff options
author | Francis Murtagh <francis.murtagh@arm.com> | 2018-08-29 12:42:10 +0100 |
---|---|---|
committer | Matthew Bentham <matthew.bentham@arm.com> | 2018-09-17 17:21:23 +0100 |
commit | e7a86a4a3363993fb41b1ea62f23b3643b8b0c78 (patch) | |
tree | 6d054cae92a13412129525e4f9ea441e7d8c6b73 /include | |
parent | a68241066c3e797dab70f515d2c55aaa74abf564 (diff) | |
download | armnn-e7a86a4a3363993fb41b1ea62f23b3643b8b0c78.tar.gz |
IVGCVSW-1200 Division layer
*IVGCVSW-1772 Create QueueDescriptors
*IVGCVSW-1773 Add a CL implementation of the DivisionWorkload
*IVGCVSW-1774 Add Neon implementation of the DivisionWorkload
*IVGCVSW-1775 Add a Ref implementation of the DivisionWorkload
*IVGCVSW-1776 Add a Division Layer
* Added simple division unit tests with broadcasting
Change-Id: I05751fb7f868789f6c06f91e8d25e52b4f12ab5e
Diffstat (limited to 'include')
-rw-r--r-- | include/armnn/INetwork.hpp | 5 | ||||
-rw-r--r-- | include/armnn/LayerSupport.hpp | 7 |
2 files changed, 12 insertions, 0 deletions
diff --git a/include/armnn/INetwork.hpp b/include/armnn/INetwork.hpp index cefcbfb06c..18e459bf0d 100644 --- a/include/armnn/INetwork.hpp +++ b/include/armnn/INetwork.hpp @@ -269,6 +269,11 @@ public: const LstmInputParams& params, const char* name = nullptr) = 0; + /// Adds a division layer to the network. + /// @param name - Optional name for the layer. + /// @return - Interface for configuring the layer. + virtual IConnectableLayer* AddDivisionLayer(const char* name = nullptr) = 0; + protected: ~INetwork() {} }; diff --git a/include/armnn/LayerSupport.hpp b/include/armnn/LayerSupport.hpp index 26cbda47e2..cb4329727a 100644 --- a/include/armnn/LayerSupport.hpp +++ b/include/armnn/LayerSupport.hpp @@ -73,6 +73,13 @@ bool IsDepthwiseConvolutionSupported(Compute compute, char* reasonIfUnsupported = nullptr, size_t reasonIfUnsupportedMaxLength = 1024); +bool IsDivisionSupported(Compute compute, + const TensorInfo& input0, + const TensorInfo& input1, + const TensorInfo& output, + char* reasonIfUnsupported = nullptr, + size_t reasonIfUnsupportedMaxLength = 1024); + bool IsInputSupported(Compute compute, const TensorInfo& input, char* reasonIfUnsupported = nullptr, |