title: How to see the content of tensorflow tensor keras Input layer?
body: <p>I want to see the content of the below tensorflow tensor given by Input class of keras</p>
  
  <pre class="lang-py prettyprint-override"><code>from keras.layers import Input
  sequence_input = Input(shape=(128,), dtype='int32')
  # How to see the content of sequence input
  sequence_input
  import tensorflow.compat.v1 as tf
  with tf.Session() as sess:  
    print(sequence_input.eval()) 
  </code></pre>
  
  <pre><code>Exception ignored in: &lt;bound method BaseSession.__del__ of &lt;tensorflow.python.client.session.Session object at 0x7fa11ecac8d0&gt;&gt;
  Traceback (most recent call last):
    File "/usr/local/lib/python3.6/dist-packages/tensorflow/python/client/session.py", line 763, in __del__
      if self._session is not None:
  AttributeError: 'Session' object has no attribute '_session'
  ---------------------------------------------------------------------------
  TypeError                                 Traceback (most recent call last)
  &lt;ipython-input-14-eaa497285237&gt; in &lt;module&gt;()
        5 import tensorflow.compat.v1 as tf
        6 import numpy as np
  ----&gt; 7 with tf.Session(session=sess) as sess:
        8   print(sequence_input.eval())
  
  TypeError: __init__() got an unexpected keyword argument 'session'
  </code></pre>
  
  <p>I have tried several solutions offered on how to see the content of the tensorflow tensor but I get errors and could not find a working code.I have included on solution proposed above with the error. What would you suggest?</p>