code: def __call__(
      self, module, bias=False, bias_only=False, module_filter="*"
  ):
      classname = module.__class__.__name__
      if fnmatch(classname, self.module_filter) and hasattr(
          module, "weight"
      ):
          if self.bias_only:
              torch.nn.init.constant(module.bias.data, val=self.value)
          else:
              torch.nn.init.constant(module.weight.data, val=self.value)
              if self.bias:
                  torch.nn.init.constant(
                      module.bias.data, val=self.value
                  )
  
imports: from fnmatch import fnmatch
  import torch.nn.init
label_desc: Use image node_id 2 for calling the ConstantInitializer obj's underlying member method code with example usage: obj.__call__(module, bias, bias_only, module_filter) without return types