title: TensorFlow to Keras Tensor
body: <p>I'm tyring to mix TensorFlow tensor and Keras tensor using this <a href="https://blog.keras.io/keras-as-a-simplified-interface-to-tensorflow-tutorial.html" rel="noreferrer">blog's info</a>: </p>
  
  <p>But the problems occurs at the last layer when output needs to be Keras tensor not TensorFlow tensor. Is there a simple way to just convert? Or is there a Keras function that does bilinear resize?</p>
  
  <pre><code>finalOut = predict_flow2
  finalOut = tf.image.resize_bilinear(finalOut, tf.stack([h, w]), align_corners=True)
  model = Model(input=input, output=finalOut)
  model.summary()
  </code></pre>
  
  <p>Error msg:</p>
  
  <blockquote>
    <p>TypeError: Output tensors to a Model must be Keras tensors. Found: Tensor("ResizeBilinear:0", shape=(?, 320, 1152, 2), dtype=float32)</p>
  </blockquote>