【解决】Please initialize `Bidirectional` layer with a `tf.keras.layers.Layer`

838 阅读1分钟

导包

from tensorflow.keras.layers import LSTM