code: def _gradient_new(f, xs, grad_ys):
      with tf.GradientTape(watch_accessed_variables=False) as tape:
          for x in xs:
              tape.watch(x)
          y, aux = f()
      return y, tape.gradient(y, xs, output_gradients=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 5 for calling a global function with example usage: _gradient_new(f, xs, grad_ys) and returns: y,  tape,  aux