How to manually create a tf.Summary()
<p>I often want to log python variables --as opposed to tf tensors.</p>

<p>In the docs it says that "you can pass a <code>tf.Summary</code> protocol buffer that you populate with your own data" but there is no docs for <code>tf.Summary</code> and i could not figure out how to use it.</p>

<p>Anyone knows how to create a Scalar summary this way?</p>