Keras, TensorFlow.
tfl.keras.Sequential([ tfl.keras.layers.Embedding(vocab_size, embed_dims), tfl.keras.layers.Bidirectional(tfl.keras.layers.LSTM(embed_dims)), tfl.keras.layers.Dense(embed_dims, activation='relu'), tfl.keras.layers.Dense(6, activation='softmax') ]) model.summary() From the model summary above, we