code: def get_submodules_from_kwargs(kwargs):
      backend = kwargs.get("backend", _KERAS_BACKEND)
      layers = kwargs.get("layers", _KERAS_LAYERS)
      models = kwargs.get("models", _KERAS_MODELS)
      utils = kwargs.get("utils", _KERAS_UTILS)
      for key in kwargs.keys():
          if key not in ["backend", "layers", "models", "utils"]:
              raise TypeError("Invalid keyword argument: %s", key)
      return backend, layers, models, utils
  
imports: import functools
  from .__version__ import __version__
label_desc: Use image node_id 1 for calling a global function with example usage: get_submodules_from_kwargs(kwargs) and returns: backend,  layers,  models,  utils