OpenCVSharp GetLayer

Is there a possibility to specific GetLayer using OpenCvSharp?

var net = CvDnn.ReadNetFromTensorflow(path);

        // Set the number of groups
        int ngroups = 1; // specify the number of groups here
        foreach (Layer layer in net.GetLayers())
        {
            if (layer.Type == "Convolution")
            {
                LayerParams layerParams = layer.GetParams();
                layerParams.SetInt("group", ngroups);
                layer.SetParams(layerParams);
            }
        }

Sorry but here it is official opencv forum for C++ python js, java android.
I think you can use this link to find an answer