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/INetwork.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/INetwork.hpp')
-rw-r--r-- | include/armnn/INetwork.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/armnn/INetwork.hpp b/include/armnn/INetwork.hpp index 1f7354dd35..2213cee555 100644 --- a/include/armnn/INetwork.hpp +++ b/include/armnn/INetwork.hpp @@ -8,6 +8,7 @@ #include <armnn/DescriptorsFwd.hpp> #include <armnn/TensorFwd.hpp> #include <armnn/Optional.hpp> +#include <armnn/ILayerVisitor.hpp> #include <armnn/Types.hpp> @@ -70,6 +71,8 @@ public: virtual std::vector<TensorShape> InferOutputShapes(const std::vector<TensorShape>& inputShapes) const = 0; virtual LayerGuid GetGuid() const = 0; + + virtual void Accept(ILayerVisitor& visitor) const = 0; protected: /// Objects are not deletable via the handle ~IConnectableLayer() {} |