📅  最后修改于: 2022-03-11 14:46:27.497000             🧑  作者: Mango
from keras.backend import int_shape
......
embedded_sequences = Reshape((int_shape(embedding_layer)[1], int_shape(embedding_layer)[2], 1))(embedding_layer)
......