How to use tile function in Keras?
1 I want to build a neural network with Keras,but I got a error: AttributeError: 'NoneType' object has no attribute '_inbound_nodes' ,and this is my example code: from keras.layers.merge import concatenate img = Input(shape=(64,64,3)) text_input = Input(shape=(192,)) text_emb = Reshape(target_shape=(1, 1, 256))(Dense(256, activation='relu')(text_input)) tiled_emb = keras.backend.tile(text_emb, (-1, 64, 64, 1)) img_feat = Conv2D(400,4,padding='same')(img) con = concatenate([tiled_emb,img_feat]) conv4 = Conv2D(512, 1)(con) flat = Flatten()(conv4) validity = Dense(1, activation='sigmoid')(flat) Model([img, text_input], validity) tensorflow keras share | improve this question asked Nov 11 at 16:01 IceLee 45 5 add a comment | 1 I want to build a neural network with Keras,but I got a error: AttributeError: 'NoneType' object has no attribute '_inbound_nodes' ,and this is my