diff options
author | Mohamed Nour Abouelseoud <mohamednour.abouelseoud@arm.com> | 2018-09-24 13:30:09 +0100 |
---|---|---|
committer | Matthew Bentham <matthew.bentham@arm.com> | 2018-10-10 16:16:57 +0100 |
commit | 5662c206864df4121eea29c541c24c0f62113809 (patch) | |
tree | f80aa8a094dc3ede6d2c7e4a905ac2f278199268 /include/armnn/INetwork.hpp | |
parent | 351d13d0b5fa698b72130012b2f069d30b911cb3 (diff) | |
download | armnn-5662c206864df4121eea29c541c24c0f62113809.tar.gz |
IVGCVSW-1881 Add PadLayer to ArmNN
Change-Id: Ib70883a20fa7b82bfb090aa98cc51a6d645b5722
Diffstat (limited to 'include/armnn/INetwork.hpp')
-rw-r--r-- | include/armnn/INetwork.hpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/armnn/INetwork.hpp b/include/armnn/INetwork.hpp index 7fd7a25b60..1d2679aabb 100644 --- a/include/armnn/INetwork.hpp +++ b/include/armnn/INetwork.hpp @@ -285,6 +285,15 @@ public: /// @ return - Interface for configuring the layer. virtual IConnectableLayer* AddMeanLayer(const MeanDescriptor& meanDescriptor, const char* name = nullptr) = 0; + /// Adds a fully pad layer to the network. + /// @param paddings - n by 2 tensor, where n is the rank of the input tensor, + /// such that paddings[i,0] indicates the amount of padding to add in front of dimonsion i, and + /// paddings[i,1] indicates the amount of padding to add after the end of dimension i + /// @param name - Optional name for the layer. + /// @return - Interface for configuring the layer. + virtual IConnectableLayer* AddPadLayer(const PadDescriptor& padDescriptor, + const char* name = nullptr) = 0; + protected: ~INetwork() {} }; |