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 e99e10f800..80931ebcc0 100644 --- a/include/armnn/ILayerVisitor.hpp +++ b/include/armnn/ILayerVisitor.hpp @@ -74,6 +74,14 @@ public: const BatchToSpaceNdDescriptor& batchToSpaceNdDescriptor, const char* name = nullptr) = 0; + /// Function a Comparison 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 comparisonDescriptor - Description of the layer. + /// @param name - Optional name for the layer. + virtual void VisitComparisonLayer(const IConnectableLayer* layer, + const ComparisonDescriptor& comparisonDescriptor, + const char* name = nullptr) = 0; + /// Function that a concat 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 concatDescriptor - ConcatDescriptor (synonym for OriginsDescriptor) to configure the concatenation @@ -163,6 +171,7 @@ public: /// 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. + ARMNN_DEPRECATED_MSG("Use VisitComparisonLayer instead") virtual void VisitEqualLayer(const IConnectableLayer* layer, const char* name = nullptr) = 0; @@ -194,6 +203,7 @@ public: /// Function a Greater 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. + ARMNN_DEPRECATED_MSG("Use VisitComparisonLayer instead") virtual void VisitGreaterLayer(const IConnectableLayer* layer, const char* name = nullptr) = 0; |