13 template <
typename LayerType,
typename ... Params>
22 layer->SetAllowExpandedDims(m_AllowExpandedDims);
LayerT * AddLayer(Args &&... args)
Adds a new layer, of type LayerType, to the graph constructed with the arguments passed.
Optional< BackendId > GetBackendHint() const
LayerGuid GetGuid() const final
Returns the unique id of the layer.
LayerType * CloneBase(Graph &graph, Params &&... params) const
const BackendId & GetBackendId() const
ShapeInferenceMethod m_ShapeInferenceMethod
Copyright (c) 2021 ARM Limited and Contributors.
LayerType
When adding a new layer, adapt also the LastLayer enum value in the enum class LayerType below.