code: def _gradient_old(f, xs, grad_ys):
      assert not tf.executing_eagerly()
      y, aux = f()
      return y, tf.gradients(y, xs, grad_ys=grad_ys), aux
  
file_path: probability/tensorflow_probability/python/math/gradient.py
imports: import tensorflow.compat.v2
  from tensorflow_probability.python.internal import tensor_util
  from tensorflow.python.util import tf_inspect
label_desc: Use image node_id 6 for calling a global function with example usage: _gradient_old(f, xs, grad_ys) and returns: y,  tf,  aux