diff options
author | Teresa Charlin <teresa.charlinreyes@arm.com> | 2020-06-29 16:27:03 +0100 |
---|---|---|
committer | TeresaARM <teresa.charlinreyes@arm.com> | 2020-07-01 08:26:47 +0000 |
commit | 526647333571169076f5e72c9fb18c71025bf7c0 (patch) | |
tree | 6dc559a7b0fae3705172b09a88fa552926652040 /include/armnn/INetwork.hpp | |
parent | cbd2c230b7ce5f26e2ccccf36b7ad450f6e1ad09 (diff) | |
download | armnn-526647333571169076f5e72c9fb18c71025bf7c0.tar.gz |
IVGCVSW-4903 Connect axis parameter in Gather from android to ACL.
!android-nn-driver:3302
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: Ifbc49acb5272f8a36719bb68676e44817190537d
Diffstat (limited to 'include/armnn/INetwork.hpp')
-rw-r--r-- | include/armnn/INetwork.hpp | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/include/armnn/INetwork.hpp b/include/armnn/INetwork.hpp index 49cd582e67..8e7a4437c8 100644 --- a/include/armnn/INetwork.hpp +++ b/include/armnn/INetwork.hpp @@ -1,5 +1,5 @@ // -// Copyright © 2017 Arm Ltd. All rights reserved. +// Copyright © 2017 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // #pragma once @@ -128,7 +128,7 @@ public: /// Add a Comparison layer to the network. /// @param name - Optional name for the layer. /// @param desc - Descriptor for the comparison operation. - /// @ return - Interface for configuring the layer. + /// @return - Interface for configuring the layer. virtual IConnectableLayer* AddComparisonLayer(const ComparisonDescriptor& comparisonDescriptor, const char* name = nullptr) = 0; @@ -324,7 +324,7 @@ public: /// Add absolute layer to the network. /// @param name - Optional name for the layer. - /// @ return - Interface for configuring the layer. + /// @return - Interface for configuring the layer. ARMNN_DEPRECATED_MSG("Use AddElementwiseUnaryLayer instead") virtual IConnectableLayer* AddAbsLayer(const char* name = nullptr) = 0; @@ -453,13 +453,13 @@ public: /// Add a Maximum layer to the network. /// @param name - Optional name for the layer. - /// @ return - Interface for configuring the layer. + /// @return - Interface for configuring the layer. virtual IConnectableLayer* AddMaximumLayer(const char* name = nullptr) = 0; /// Add a Mean layer to the network. /// @param meanDescriptor - Parameters for the mean operation. /// @param name - Optional name for the layer. - /// @ return - Interface for configuring the layer. + /// @return - Interface for configuring the layer. virtual IConnectableLayer* AddMeanLayer(const MeanDescriptor& meanDescriptor, const char* name = nullptr) = 0; /// Adds a fully pad layer to the network. @@ -485,32 +485,40 @@ public: /// Add a Minimum layer to the network. /// @param name - Optional name for the layer. - /// @ return - Interface for configuring the layer. + /// @return - Interface for configuring the layer. virtual IConnectableLayer* AddMinimumLayer(const char* name = nullptr) = 0; /// Add a Greater layer to the network. /// @param name - Optional name for the layer. - /// @ return - Interface for configuring the layer. + /// @return - Interface for configuring the layer. ARMNN_DEPRECATED_MSG("Use AddComparisonLayer instead") virtual IConnectableLayer* AddGreaterLayer(const char* name = nullptr) = 0; /// Add a Equal layer to the network. /// @param name - Optional name for the layer. - /// @ return - Interface for configuring the layer. + /// @return - Interface for configuring the layer. ARMNN_DEPRECATED_MSG("Use AddComparisonLayer instead") virtual IConnectableLayer* AddEqualLayer(const char* name = nullptr) = 0; /// Add Reciprocal of square root layer to the network. /// @param name - Optional name for the layer. - /// @ return - Interface for configuring the layer. + /// @return - Interface for configuring the layer. ARMNN_DEPRECATED_MSG("Use AddElementwiseUnaryLayer instead") virtual IConnectableLayer* AddRsqrtLayer(const char* name = nullptr) = 0; /// Add Gather layer to the network. /// @param name - Optional name for the layer. - /// @ return - Interface for configuring the layer. + /// @return - Interface for configuring the layer. + ARMNN_DEPRECATED_MSG("Use AddGatherLayer with descriptor instead") virtual IConnectableLayer* AddGatherLayer(const char* name = nullptr) = 0; + /// Add Gather layer to the network. + /// @param descriptor - Description of the gather layer. + /// @param name - Optional name for the layer. + /// @return - Interface for configuring the layer. + virtual IConnectableLayer* AddGatherLayer(const GatherDescriptor& descriptor, + const char* name = nullptr) = 0; + /// Adds a switch layer to the network. /// @param name - Optional name for the layer. /// @return - Interface for configuring the layer. |