def init_obj(self, name, module, *args, **kwargs):
    "\n        Finds a function handle with the name given as 'type' in config, and returns the\n        instance initialized with corresponding arguments given.\n\n        `object = config.init_obj('name', module, a, b=1)`\n        is equivalent to\n        `object = module.name(a, b=1)`\n        "
    module_name = self[name]['type']
    module_args = dict(self[name]['args'])
    module_args.update(kwargs)
    return getattr(module, module_name)(*args, **module_args)
Finds a function handle with the name given as 'type' in config, and returns the
instance initialized with corresponding arguments given.

`object = config.init_obj('name', module, a, b=1)`
is equivalent to
`object = module.name(a, b=1)`
def init_obj(self, name, module, *args, **kwargs):
    "\n        Finds a function handle with the name given as 'type' in config, and returns the\n        instance initialized with corresponding arguments given.\n\n        `object = config.init_obj('name', module, a, b=1)`\n        is equivalent to\n        `object = module.name(a, b=1)`\n        "
    module_name = self[name]['type']
    module_args = dict(self[name]['args'])
    module_args.update(kwargs)
    return getattr(module, module_name)(*args, **module_args)