code: def _discrete_dists():
      """Computes the table of Discrete Distributions.
  
      Returns:
        discrete_dists: A Python list of discrete distributions.
      """
      result = []
      for dist_name in dir(tfd):
          dist_class = getattr(tfd, dist_name)
          if not inspect.isclass(dist_class) or not issubclass(
              dist_class, tfd.Distribution
          ):
              continue
  
          if issubclass(
              dist_class, distribution.DiscreteDistributionMixin
          ):
              result.append(dist_name)
      return result
  
imports: import collections
  import functools
  import inspect
  from absl import logging
  import hypothesis
  from hypothesis import strategies
  import numpy
  import six
  import tensorflow.compat.v2
  from tensorflow_probability.python import distributions
  from tensorflow_probability.python import util
  from tensorflow_probability.python.bijectors import ascending
  from tensorflow_probability.python.bijectors import hypothesis_testlib
  from tensorflow_probability.python.distributions import distribution
  from tensorflow_probability.python.experimental import distributions
  from tensorflow_probability.python.internal import hypothesis_testlib
  from tensorflow_probability.python.internal import tensorshape_util
label_desc: Use image node_id 13 for calling a global function with example usage: _discrete_dists() and returns: result