class_docstr: A base class for all regularizers.
class_docstr_tok: ["A","base","class","for","all","regularizers","."]
docstr: Add a parameter for regularization.
docstr_tok: ["Add","a","parameter","for","regularization","."]
code: def add_parameter(self, parameter: nn.Parameter) -> None:
      """Add a parameter for regularization."""
      self.tracked_parameters.append(parameter)
  
imports: from __future__ import annotations
  import warnings
  from abc import ABC, abstractmethod
  from typing import Any, ClassVar, Iterable, Mapping, Optional
  import torch
  from class_resolver import ClassResolver, normalize_string
  from torch import nn
  from torch.nn import functional
  from .utils import lp_norm, powersum_norm
label_desc: Use image node_id 3 for calling the Regularizer obj's underlying member method code with example usage: obj.add_parameter(parameter) without return types