title: Converting Array of Lists to Keras Input
body: <p>Given an array of the form</p>
  
  <pre class="lang-py prettyprint-override"><code>array([list([21603, 125, 737, 579, 2065, 10399, 1175, 0, 0, 0]),
         ...
         list([1896, 3917, 498, 296, 1452, 523, 754, 450, 3795, 341])],
        dtype=object)
  </code></pre>
  
  <p>How do you prepare it to be consumed by a Keras model in TensorFlow 2.0 RC0? In its current form it throws the error</p>
  
  <blockquote>
    <p>ValueError: Failed to convert a NumPy array to a Tensor (Unsupported object type list).</p>
  </blockquote>
  
  <p>and I can't seem to get it in the form I'm familiar with,</p>
  
  <pre class="lang-py prettyprint-override"><code>array([[21603, 125, 737, 579, 2065, 10399, 1175, 0, 0, 0],
         ...
         [1896, 3917, 498, 296, 1452, 523, 754, 450, 3795, 341]])
  </code></pre>