neodroidvision.utilities.tf_utilities.tf_bb.add_cdf_image_summary

neodroidvision.utilities.tf_utilities.tf_bb.add_cdf_image_summary(values, name)[source]

Adds a tf.summary.image for a CDF plot of the values.

Normalizes values such that they sum to 1, plots the cumulative distribution function and creates a tf image summary.

Args: values: a 1-D float32 tensor containing the values. name: name for the image summary.