class_docstr: Applies initializers to the parameters of a Module based on regex matches.  Any parameter not
  explicitly matching a regex will not be initialized, instead using whatever the default
  initialization was in the module's code.
docstr: Parameters
  ----------
  initializers : ``List[Tuple[str, Initializer]]``, optional (default = [])
      A list mapping parameter regexes to initializers.  We will check each parameter against
      each regex in turn, and apply the initializer paired with the first matching regex, if
      any. If "prevent" is assigned to any regex, then it will override and prevent the matched
      parameters to be initialzed.
docstr_tok: ["Parameters","--","--","--","--","--","initializers",":","``","List","[","Tuple","[","str",",","Initializer","]","]","``",",","optional","(","default","=","[","]",")","A","list","mapping","parameter","regexes","to","initializers",".","We","will","check","each","parameter","against","each","regex","in","turn",",","and","apply","the","initializer","paired","with","the","first","matching","regex",",","if","any",".","If","``","prevent","''","is","assigned","to","any","regex",",","then","it","will","override","and","prevent","the","matched","parameters","to","be","initialzed","."]
code: def __init__(self, initializers=None, prevent_regexes=None):
      """
      Parameters
      ----------
      initializers : ``List[Tuple[str, Initializer]]``, optional (default = [])
          A list mapping parameter regexes to initializers.  We will check each parameter against
          each regex in turn, and apply the initializer paired with the first matching regex, if
          any. If "prevent" is assigned to any regex, then it will override and prevent the matched
          parameters to be initialzed.
      """
      self._initializers = initializers or []
      self._prevent_regex = None
      if prevent_regexes:
          self._prevent_regex = "(" + ")|(".join(prevent_regexes) + ")"
  
imports: from __future__ import division
  from __future__ import absolute_import
  import logging
  import re
  import math
  import itertools
  import torch
  import torch.nn.init
  from allennlp.common import Registrable
  from allennlp.common.params import Params
  from allennlp.common.checks import ConfigurationError
label_desc: Use image node_id 1 to create a new InitializerApplicator object from inherited base classes: object with example: obj = InitializerApplicator(initializers, prevent_regexes)