How to set the input of a Keras layer with a Tensorflow tensor?
问题 In my previous question, I used Keras' Layer.set_input() to connect my Tensorflow pre-processing output tensor to my Keras model's input. However, this method has been removed after Keras version 1.1.1 . How can I achieve this in newer Keras versions? Example: # Tensorflow pre-processing raw_input = tf.placeholder(tf.string) ### some TF operations on raw_input ### tf_embedding_input = ... # pre-processing output tensor # Keras model model = Sequential() e = Embedding(max_features, 128, input