diff options
author | Mike Kelly <mike.kelly@arm.com> | 2019-02-11 17:01:27 +0000 |
---|---|---|
committer | Mike Kelly <mike.kelly@arm.com> | 2019-02-11 17:01:27 +0000 |
commit | 8c1701a2d9c1da0e1decb2afdc2093aa88810242 (patch) | |
tree | 870ee9af506bb468c513214ab539f41aeb1e34dc /include/armnn/INetwork.hpp | |
parent | a40521a70e73d20a060fa2df0e83b02c4f1c6139 (diff) | |
download | armnn-8c1701a2d9c1da0e1decb2afdc2093aa88810242.tar.gz |
IVGCVSW-2531 Serialize a simple ArmNN Network
Change-Id: I68cf5072aca6e3a8b3b8c57e19b6d417cd5813fc
Signed-off-by: Mike Kelly <mike.kelly@arm.com>
Diffstat (limited to 'include/armnn/INetwork.hpp')
-rw-r--r-- | include/armnn/INetwork.hpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/armnn/INetwork.hpp b/include/armnn/INetwork.hpp index c4c67b70ae..aaca13bba9 100644 --- a/include/armnn/INetwork.hpp +++ b/include/armnn/INetwork.hpp @@ -17,7 +17,6 @@ namespace armnn { - /// @brief An input connection slot for a layer. /// The input slot can be connected to an output slot of the preceding layer in the graph. /// Only one connection to the input slot is allowed. @@ -48,6 +47,10 @@ public: virtual int Connect(IInputSlot& destination) = 0; virtual void Disconnect(IInputSlot& slot) = 0; + virtual unsigned int CalculateIndexOnOwner() const = 0; + + virtual LayerGuid GetOwningLayerGuid() const = 0; + protected: /// Not user deletable. ~IOutputSlot() {} @@ -361,6 +364,8 @@ public: /// @ return - Interface for configuring the layer. virtual IConnectableLayer* AddGatherLayer(const char* name = nullptr) = 0; + virtual void Accept(ILayerVisitor& visitor) const = 0; + protected: ~INetwork() {} }; |