NLP - Sequence Models for NLP
What will be the output shape of this Bidirectional LSTM layer?
from tensorflow.keras.layers import Bidirectional, LSTM, Input from tensorflow.keras.models import Model inputs = Input(shape=(15, 20)) lstm = Bidirectional(LSTM(10, return_sequences=True))(inputs) model = Model(inputs, lstm) print(model.output_shape)
