code: def _deep_merge_dict(dict_x, dict_y, path=None):
      """Recursively merges dict_y into dict_x."""
      if path is None:
          path = []
      for key in dict_y:
          if key in dict_x:
              if isinstance(dict_x[key], dict) and isinstance(
                  dict_y[key], dict
              ):
                  _deep_merge_dict(
                      dict_x[key], dict_y[key], path + [str(key)]
                  )
              elif dict_x[key] == dict_y[key]:
                  pass  # same leaf value
              else:
                  dict_x[key] = dict_y[key]
          else:
              dict_x[key] = dict_y[key]
      return dict_x
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import abc
  import copy
  from pydoc import locate
  import six
  import yaml
  import tensorflow
label_desc: Use image node_id 3 for calling a global function with example usage: _deep_merge_dict(dict_x, dict_y, path) and returns: dict_x