What is the difference between WeightNormSparsifier from torch.ao and torch.nn.utils.prune.l1_unstructured?

Relevent links:

  1. torch.nn.utils.prune.l1_unstructured — PyTorch 2.4 documentation
  2. pytorch/torch/ao/pruning/sparsifier/weight_norm_sparsifier.py at 32e057636c7593f8bb4820395e2a55eea471a145 · pytorch/pytorch · GitHub