From 013c390c2d9829fede2d8b1d59c3f2a497730462 Mon Sep 17 00:00:00 2001 From: Derek Lamberti Date: Mon, 21 Oct 2019 10:46:16 +0100 Subject: IVGCVSW-4009 StandInLayer frontend API Change-Id: I058c57b554769799c6775813215070ef47790e3d Signed-off-by: Derek Lamberti --- include/armnn/INetwork.hpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'include/armnn/INetwork.hpp') diff --git a/include/armnn/INetwork.hpp b/include/armnn/INetwork.hpp index b3fab82cb4..10414923e8 100644 --- a/include/armnn/INetwork.hpp +++ b/include/armnn/INetwork.hpp @@ -507,6 +507,16 @@ public: virtual IConnectableLayer* AddStackLayer(const StackDescriptor& descriptor, const char* name = nullptr) = 0; + + /// Add a stand-in layer for a type unknown to the Arm NN framework. + /// Note: Due to the nature of this layer, no validation can be performed by the framework. + /// Furthermore, Any model containing this layer cannot make use of dynamic tensors since the + /// tensor sizes cannot be inferred. + /// @descriptor - Descriptor for the StandIn layer. + /// @return - Interface for configuring the layer. + virtual IConnectableLayer* AddStandInLayer(const StandInDescriptor& descriptor, + const char* name = nullptr) = 0; + /// Add a QuantizedLstm layer to the network /// @param params - The weights and biases for the Quantized LSTM cell /// @param name - Optional name for the layer -- cgit v1.2.1