class_docstr: Represents a penalty proportional to the sum of the absolute values of the parameters
  
  Registered as a `Regularizer` with name "l1".
code: def __init__(self, alpha: float = 0.01) -> None:
      self.alpha = alpha
  
file_path: allennlp/allennlp/nn/regularizers/regularizers.py
imports: import torch
  from allennlp.nn.regularizers.regularizer import Regularizer
label_desc: Use image node_id 1 to create a new L1Regularizer object from inherited base classes: Regularizer with example: obj = L1Regularizer(alpha)