diff --git a/modules/dnn/src/layers/shuffle_channel_layer.cpp b/modules/dnn/src/layers/shuffle_channel_layer.cpp index 6c69d773a4..19c6cfc88e 100644 --- a/modules/dnn/src/layers/shuffle_channel_layer.cpp +++ b/modules/dnn/src/layers/shuffle_channel_layer.cpp @@ -14,6 +14,7 @@ public: ShuffleChannelLayerImpl(const LayerParams& params) { group = params.get("group", 1); + setParamsFrom(params); } bool getMemoryShapes(const std::vector &inputs,