code: def modify_init_args(name, base, new_init_args):
      """Modifies init args for a subclass of a base class from the registry.
  
      Args:
        name: Name to look up from the registry.
        base: The base class of the subclass to be found.
        new_init_args: a kwargs dict with new args names and values.
  
      Raises:
        RuntimeError: in case name or base are not in registeries.
      """
      basename = base.__name__
      if basename not in _registries:
          raise RuntimeError(
              "Asking to change args of a baseclass %s not in registry."
              % (basename,)
          )
      registry = _registries[basename]
      if name not in registry:
          raise RuntimeError(
              "Asking to change args of a subclass %s not in registry."
              % (name,)
          )
  
      registry[name][_INIT_ARGS] = new_init_args
  
file_path: model_search/model_search/registry.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import inspect
  import traceback
  from absl import logging
label_desc: Use image node_id 3 for calling a global function with example usage: modify_init_args(name, base, new_init_args) without return types