class_docstr: Represents a penalty proportional to the sum of the absolute values of the parameters
code: def __init__(self, alpha=0.01):
      self.alpha = alpha
  
file_path: magnitude/pymagnitude/third_party/allennlp/nn/regularizers/regularizers.py
imports: from __future__ import absolute_import
  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)