diff options
Diffstat (limited to 'include/armnn/ILayerVisitor.hpp')
-rw-r--r-- | include/armnn/ILayerVisitor.hpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/armnn/ILayerVisitor.hpp b/include/armnn/ILayerVisitor.hpp index 9669b3a7cb..46f9e5698f 100644 --- a/include/armnn/ILayerVisitor.hpp +++ b/include/armnn/ILayerVisitor.hpp @@ -24,6 +24,7 @@ public: /// function is invoked. /// @param layer - pointer to the layer which is calling back to this visit function. /// @param name - Optional name for the layer. + ARMNN_DEPRECATED_MSG("Use VisitElementwiseUnaryLayer instead") virtual void VisitAbsLayer(const IConnectableLayer* layer, const char* name = nullptr) = 0; @@ -168,6 +169,14 @@ public: virtual void VisitDivisionLayer(const IConnectableLayer* layer, const char* name = nullptr) = 0; + /// Function a ElementwiseUnary layer should call back to when its Accept(ILayerVisitor&) function is invoked. + /// @param layer - pointer to the layer which is calling back to this visit function. + /// @param elementwiseUnaryDescriptor - Description of the layer. + /// @param name - Optional name for the layer. + virtual void VisitElementwiseUnaryLayer(const IConnectableLayer* layer, + const ElementwiseUnaryDescriptor& elementwiseUnaryDescriptor, + const char* name = nullptr) = 0; + /// Function an Equal layer should call back to when its Accept(ILayerVisitor&) function is invoked. /// @param layer - pointer to the layer which is calling back to this visit function. /// @param name - Optional name for the layer. @@ -388,6 +397,7 @@ public: /// function is invoked. /// @param layer - pointer to the layer which is calling back to this visit function. /// @param name - Optional name for the layer. + ARMNN_DEPRECATED_MSG("Use VisitElementwiseUnaryLayer instead") virtual void VisitRsqrtLayer(const IConnectableLayer* layer, const char* name = nullptr) = 0; |