diff options
Diffstat (limited to 'include/armnn')
-rw-r--r-- | include/armnn/ILayerVisitor.hpp | 2 | ||||
-rw-r--r-- | include/armnn/INetwork.hpp | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/include/armnn/ILayerVisitor.hpp b/include/armnn/ILayerVisitor.hpp index f30396aab9..3b92733a81 100644 --- a/include/armnn/ILayerVisitor.hpp +++ b/include/armnn/ILayerVisitor.hpp @@ -79,9 +79,11 @@ public: /// 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 anchors - Tensor for the anchors. /// @param name - Optional name for the layer. virtual void VisitDetectionPostProcessLayer(const IConnectableLayer* layer, const DetectionPostProcessDescriptor& descriptor, + const ConstTensor& anchors, const char* name = nullptr) = 0; /// Function that a fully connected layer without biases should call back to when its Accept(ILayerVisitor&) diff --git a/include/armnn/INetwork.hpp b/include/armnn/INetwork.hpp index 2213cee555..c4c67b70ae 100644 --- a/include/armnn/INetwork.hpp +++ b/include/armnn/INetwork.hpp @@ -132,10 +132,13 @@ public: /// Adds a Detection PostProcess layer to the network. /// @param descriptor - Description of the Detection PostProcess layer. + /// @param anchors - Tensor for anchors. /// @param name - Optional name for the layer. /// @return - Interface for configuring the layer. virtual IConnectableLayer* AddDetectionPostProcessLayer( - const DetectionPostProcessDescriptor& descriptor, const char* name = nullptr) =0; + const DetectionPostProcessDescriptor& descriptor, + const ConstTensor& anchors, + const char* name = nullptr) = 0; /// Adds a fully connected layer to the network. /// @param fullyConnectedDescriptor - Description of the fully connected layer. |