code: def __init__(self, scale=1e-3, module_filter="*"):
      self.scale = float(scale)
      self.module_filter = module_filter
      self.value = 0.0
  
imports: import torch
  from fnmatch import fnmatch
  from .callbacks import Callback
label_desc: Use image node_id 1 to create a new L1Regularizer object from inherited base classes: Regularizer with example: obj = L1Regularizer(scale, module_filter)