al_norm` using the new parametrization functionality in :func:`torch.nn.utils.parametrize.register_parametrization`. Please use the newer version. This function will be deprecated in a future version of PyTorch. Example:: >>> m = spectral_norm(nn.Linear(20, 40)) >>> m Linear(in_features=20, out_features=40, bias=True) >>> m.weight_u.size() torch.Size([40]) Nr