code: def summarize_dist_params(dist, name, name_scope="dist_params"):
      """Summarize the parameters of a distribution.
  
      Args:
        dist: A Distribution object with mean and standard deviation
          parameters.
        name: The name of the distribution.
        name_scope: The name scope of this summary.
      """
      with tf1.name_scope(name_scope):
          tf.summary.histogram(
              name="{}/{}".format(name, "mean"),
              data=dist.mean(),
              step=tf1.train.get_or_create_global_step(),
          )
          tf.summary.histogram(
              name="{}/{}".format(name, "stddev"),
              data=dist.stddev(),
              step=tf1.train.get_or_create_global_step(),
          )
  
imports: from datetime import datetime
  import functools
  from absl import app
  from absl import flags
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  import tensorflow_probability
  from tensorflow_probability.examples import sprites_dataset
  from tensorflow_probability.python.internal import tf_keras
label_desc: Use image node_id 4 for calling a global function with example usage: summarize_dist_params(dist, name, name_scope) without return types