How to use torch.nn.GroupNorm function

How to use torch.nn.GroupNorm function
I don’t understand.
Please tell me who understands

The GroupNorm docs contain an example including comments for each setup.

Do you have a question for its usage in PyTorch or the method in general?

m = nn.GroupNorm(1, 6)
output = m(input)

When do you use output = m(input)?
In one sample, x=Relu(GroupNorm(CNN(x)))
However, I do not know whether to do it for each CNN layer or only for the last layer.

ok It worked properly