aboutsummaryrefslogtreecommitdiff
path: root/arm_compute/graph2/frontend/ILayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'arm_compute/graph2/frontend/ILayer.h')
-rw-r--r--arm_compute/graph2/frontend/ILayer.h11
1 files changed, 9 insertions, 2 deletions
diff --git a/arm_compute/graph2/frontend/ILayer.h b/arm_compute/graph2/frontend/ILayer.h
index fee0b37e64..f8f6a5d47e 100644
--- a/arm_compute/graph2/frontend/ILayer.h
+++ b/arm_compute/graph2/frontend/ILayer.h
@@ -33,11 +33,18 @@ namespace frontend
// Forward declarations
class IStream;
-/** ILayer interface **/
+/** ILayer interface */
class ILayer
{
public:
- virtual ~ILayer() = default;
+ /** Default destructor */
+ virtual ~ILayer() = default;
+ /** Create layer and add to the given stream.
+ *
+ * @param[in] s Stream to add layer to.
+ *
+ * @return ID of the created node.
+ */
virtual NodeID create_layer(IStream &s) = 0;
};
} // namespace frontend