title: Is there a way to get tensorflow tf.Print output to appear in Jupyter Notebook output
body: <p>I'm using the tf.Print op in a Jupyter notebook. It works as required, but will only print the output to the console, without printing in the notebook. Is there any way to get around this?</p>
  
  <p>An example would be the following (in a notebook):</p>
  
  <pre><code>import tensorflow as tf
  
  a = tf.constant(1.0)
  a = tf.Print(a, [a], 'hi')
  sess = tf.Session()
  a.eval(session=sess)
  </code></pre>
  
  <p>That code will print 'hi[1]' in the console, but nothing in the notebook. </p>