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