code: def _summaries():
      """Returns all summary functions."""
  
      fns = [
          tf.summary.scalar,
          tf.summary.audio,
          tf.summary.histogram,
          tf.summary.image,
          tf_compat.v1.summary.scalar,
          tf_compat.v1.summary.audio,
          tf_compat.v1.summary.histogram,
          tf_compat.v1.summary.image,
          tf_compat.v2.summary.scalar,
          tf_compat.v2.summary.audio,
          tf_compat.v2.summary.histogram,
          tf_compat.v2.summary.image,
      ]
      try:
          fns += [
              tf.contrib.summary.scalar,
              tf.contrib.summary.audio,
              tf.contrib.summary.histogram,
              tf.contrib.summary.image,
          ]
      except (AttributeError, ImportError):
          # TF 2.0 eliminates tf.contrib.
          pass
      return fns
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import functools
  import os
  from absl.testing import parameterized
  from adanet import tf_compat
  from adanet.core import testing_utils
  from adanet.core.summary import _ScopedSummary
  from adanet.core.summary import _TPUScopedSummary
  from adanet.core.summary import monkey_patched_summaries
  from six.moves import range
  import tensorflow.compat.v1
  from tensorflow.python.ops import summary_ops_v2
label_desc: Use image node_id 2 for calling a global function with example usage: _summaries() and returns: fns