How could I define a GroupNorm in PyTorch0.3?

when I see GroupNorm’s definition in pytorch1.1.0. I cannot find the decorator called “weak_module” and “weak_script_method”. I really want to know what they have done due to having to use the GroupNorm in pytorch0.3.0 but it was not supported.
Could anyone give me some help?

Hello, this are flags introduced for the torch.jit module, indicating it to create a static computation graph. So if you are just trying to implement GroupNorm, you shouldn’t worry about it.

it does not have a torch.jit file in version 0.3