code: def _initializer_wrapper(init_function):
      class Init(Initializer):
          _initializer_wrapper = True
  
          def __init__(self, **kwargs):
              self._init_function = init_function
              self._kwargs = kwargs
  
          def __call__(self, tensor):
              self._init_function(tensor, **self._kwargs)
  
          def __repr__(self):
              return "Init: %s, with params: %s" % (
                  self._init_function,
                  self._kwargs,
              )
  
          @classmethod
          def from_params(cls, params):  # type: ignore
              return cls(**params.as_dict())
  
      return Init
  
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 5 for calling a global function with example usage: _initializer_wrapper(init_function) and returns: Init, unknown, cls