code: def __init__(self, p=2, power=1, **kwargs):
      super().__init__(**kwargs)
      self.p = p
      self.power = power
      self.add_to_recordable_attributes(
          list_of_names=["p", "power"], is_stat=False
      )
  
imports: import torch
  from ..utils import common_functions
  from .base_regularizer import BaseRegularizer
label_desc: Use image node_id 1 to create a new LpRegularizer object from inherited base classes: BaseRegularizer with example: obj = LpRegularizer(p, power)