code: def base_equal(a, b):
      """Returns `True` if base dtypes are identical."""
      return base_dtype(a) == base_dtype(b)
  
imports: import numpy
  import tensorflow.compat.v2
  from tensorflow.python.util import nest
label_desc: Use image node_id 4 for calling a global function with example usage: base_equal(a, b) and returns: unknown