torch.nn.utils.remove_weight_norm
-
torch.nn.utils.remove_weight_norm(module, name='weight')
[source] -
Removes the weight normalization reparameterization from a module.
Example
>>> m = weight_norm(nn.Linear(20, 40)) >>> remove_weight_norm(m)
© 2019 Torch Contributors
Licensed under the 3-clause BSD License.
https://pytorch.org/docs/1.8.0/generated/torch.nn.utils.remove_weight_norm.html