diff options
author | jimfly01 <jim.flynn@arm.com> | 2019-01-28 12:51:53 +0000 |
---|---|---|
committer | jimfly01 <jim.flynn@arm.com> | 2019-01-29 10:37:47 +0000 |
commit | d161ba0bc83fa14f7aea4c629ca3e6ea04a2dc34 (patch) | |
tree | 909d956ede3aaaf2812d4141a4742c4e2c936122 /include/armnn | |
parent | c6a41ffa25d468a69465e1a7b22b280b029f65a2 (diff) | |
download | armnn-d161ba0bc83fa14f7aea4c629ca3e6ea04a2dc34.tar.gz |
IVGCVSW-2569 Add implementation of ConstTensor Accept functions
* Create the required ConstTensors and pass them to the appropriate
visit method. Back fill of dummies added during IVGCVSW-2547
* Moved the VisitDetectionPostProcessLayer function declaration in
ILayerVistor to its correct location after the
VisitDepthwiseConvolution2dLayer functions.
Change-Id: I0bd2f8c3603cbdb933b1216ead96dd8273eb5013
Diffstat (limited to 'include/armnn')
-rw-r--r-- | include/armnn/ILayerVisitor.hpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/include/armnn/ILayerVisitor.hpp b/include/armnn/ILayerVisitor.hpp index c56be81bb2..f30396aab9 100644 --- a/include/armnn/ILayerVisitor.hpp +++ b/include/armnn/ILayerVisitor.hpp @@ -62,15 +62,6 @@ 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. @@ -84,6 +75,15 @@ public: const ConstTensor& biases, 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 fully connected layer without 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. |