code: def discover_variables(x):
      """Returns `tuple` of all `tf.Variables` discoverable in input.
  
      Warning: unlike possibly `tf.Module`, use of this function only does a static,
      "one-time" discovery. (This is self-evidently true from its functional
      nature.)
  
      Args:
        x: An object to inspected for `tf.Variable` dependencies.
  
      Returns:
        vars: A Python `tuple` of `tf.Variable`s, regardless of their value of
          `trainable`.
      """
      return _Track(x).variables
  
file_path: probability/tensorflow_probability/python/internal/tensor_util.py
imports: import tensorflow.compat.v2
  from tensorflow_probability.python.internal import dtype_util
  from tensorflow_probability.python.internal import prefer_static
label_desc: Use image node_id 8 for calling a global function with example usage: discover_variables(x) and returns: _Track