diff options
author | Nattapat Chaimanowong <nattapat.chaimanowong@arm.com> | 2019-04-05 13:37:19 +0100 |
---|---|---|
committer | Nattapat Chaimanowong <nattapat.chaimanowong@arm.com> | 2019-04-05 13:37:29 +0100 |
commit | 1f88630874fe346cd0cca8d8e38e0fb96cc1a3f4 (patch) | |
tree | 41acf0281797c5d4e9e515032ac989428efcb5b8 /include/armnn/ILayerVisitor.hpp | |
parent | 647aab364aa13490427533c427496ad725b47f7a (diff) | |
download | armnn-1f88630874fe346cd0cca8d8e38e0fb96cc1a3f4.tar.gz |
IVGCVSW-2915 Add Merge Layer and no-op factory method
Change-Id: I54549671e0d3b207904cf9796a843eb2b0a631f7
Signed-off-by: Nattapat Chaimanowong <nattapat.chaimanowong@arm.com>
Diffstat (limited to 'include/armnn/ILayerVisitor.hpp')
-rw-r--r-- | include/armnn/ILayerVisitor.hpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/armnn/ILayerVisitor.hpp b/include/armnn/ILayerVisitor.hpp index e23cf5e6dd..3a4c39b7c6 100644 --- a/include/armnn/ILayerVisitor.hpp +++ b/include/armnn/ILayerVisitor.hpp @@ -199,6 +199,12 @@ public: const MeanDescriptor& meanDescriptor, const char* name = nullptr) = 0; + /// Function that a merge 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. + virtual void VisitMergeLayer(const IConnectableLayer* layer, + const char* name = nullptr) = 0; + /// Function that a merger 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 mergerDescriptor - WindowsDescriptor to configure the merging process. Number of Views must be equal to @@ -337,4 +343,4 @@ public: }; -} // namespace armnn
\ No newline at end of file +} // namespace armnn |