(image_tensor, tag)
return tf.summary.Summary.Value(tag=tag, image=image_sum)
Converts the given image tensor to a tf.summary.Summary.Image.
Converts the given image tensor to a tf.summary.Summary.Image.
Converts the given image tensor to a tf . summary . Summary . Image .
def make_image_summary(image_tensor, tag):
  """Converts the given image tensor to a tf.summary.Summary.Image."""
  encoded_image = _make_encoded_image(image_tensor)
  image_sum = tf.summary.Summary.Image(encoded_image_string=encoded_image)
  return tf.summary.Summary.Value(tag=tag, image=image_sum)
def make_image_summary ( image_tensor , tag ) : encoded_image = _make_encoded_image ( image_tensor ) image_sum = tf . summary . Summary . Image ( encoded_image_string = encoded_image ) return tf . summary . Summary . Value ( tag = tag , image = image_sum )