alle!Missing `set_input` in keras
Ich bemerke, dass in https://blog.keras.io/keras-as-a-simplified-interface-to-tensorflow-tutorial.html es sagt, dass wir Tensorflow Op als Eingabe von Keras-Modell wie first_layer.set_input(my_input_tensor)
setzen können. Aber ich finde, dass keras nicht set_input Funktion hat:
first_layer = Dense(32, activation='relu', input_dim=784)
first_layer.set_input(my_input_tensor)
Aber ich bekomme:
AttributeError: 'Dense' object has no attribute 'set_input'.
Was kann das Problem sein?
Um @Wasi hinzuzufügen, wurde es in Keras 1.1.1 entfernt, https://github.com/fchollet/keras/commit/92e8a20761bedbde8fd56a02a165884e8132f045 – indraforyou
Vielen Dank! –