code: def _dist_classes(distributions_module):
      dist_classes = []
      for attr in dir(distributions_module):
          value = getattr(distributions_module, attr)
          if inspect.isclass(value) and issubclass(
              value, distributions_module.Distribution
          ):
              dist_classes.append(value)
      return dist_classes
  
file_path: probability/tensorflow_probability/python/distributions/kullback_leibler.py
imports: import inspect
  import six
  import tensorflow.compat.v2
  from tensorflow.python.util import tf_inspect
label_desc: Use image node_id 4 for calling a global function with example usage: _dist_classes(distributions_module) and returns: dist_classes