code: def split_keras_kwargs(kwargs):
      """Strip keras specific kwargs."""
      keras_kwargs = {}
      for key in ["training", "mask", "name"]:
          if kwargs.get(key) is not None:
              keras_kwargs[key] = kwargs.pop(key)
      return keras_kwargs, kwargs
  
file_path: ddsp/ddsp/dags.py
imports: from typing import Dict, Sequence, Tuple, Text, TypeVar
  from absl import logging
  from ddsp import core
  import gin
  import tensorflow.compat.v2
label_desc: Use image node_id 1 for calling a global function with example usage: split_keras_kwargs(kwargs) and returns: keras_kwargs,  kwargs