class_docstr: Parent class for bias mitigator classes.
  
  # Parameters
  
  requires_grad : `bool`, optional (default=`False`)
      Option to enable gradient calculation.
code: def __init__(self, requires_grad: bool = False):
      self.requires_grad = requires_grad
  
imports: import torch
  import numpy
  import scipy
  import sklearn
  from allennlp.common.checks import ConfigurationError
label_desc: Use image node_id 1 to create a new BiasMitigator object  with example: obj = BiasMitigator(requires_grad)