diff options
author | jimfly01 <jim.flynn@arm.com> | 2019-01-24 22:29:33 +0000 |
---|---|---|
committer | Narumol Prangnawarat <narumol.prangnawarat@arm.com> | 2019-01-25 14:10:53 +0000 |
commit | e9e7bfd09e3435d2bbb334e07c6a0a2514c80048 (patch) | |
tree | ae64daa5c6349ac821fb1b8534f8c9881dec0355 /include/armnn/ILayerVisitor.hpp | |
parent | 5e9d29802e2cfbb13adc49c2a0ac9ba952dc7650 (diff) | |
download | armnn-e9e7bfd09e3435d2bbb334e07c6a0a2514c80048.tar.gz |
IVGCVSW-2547 Add Accept function to IConnectableLayer
* Layers which callback VisitXXXLayer with ConstTensor
have been implemented with dummies to speed up implementation
and unblock IVGCVSW-2531
Change-Id: I49b8035f12ec72d6bd6cee95075692f98c48e193
Diffstat (limited to 'include/armnn/ILayerVisitor.hpp')
-rw-r--r-- | include/armnn/ILayerVisitor.hpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/armnn/ILayerVisitor.hpp b/include/armnn/ILayerVisitor.hpp index dd73a6fb44..c56be81bb2 100644 --- a/include/armnn/ILayerVisitor.hpp +++ b/include/armnn/ILayerVisitor.hpp @@ -13,6 +13,10 @@ namespace armnn { class ILayerVisitor { +protected: + ILayerVisitor() {} + virtual ~ILayerVisitor() {} + public: /// Function that an InputLayer 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. @@ -58,6 +62,15 @@ public: const ConstTensor& weights, const char* name = nullptr) = 0; + /// Function that a Detection PostProcess 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 descriptor - Description of the Detection PostProcess layer. + /// @param name - Optional name for the layer. + virtual void VisitDetectionPostProcessLayer(const IConnectableLayer* layer, + const DetectionPostProcessDescriptor& descriptor, + const char* name = nullptr) = 0; + /// Function that a 2D depthwise convolution layer with biases 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. |