NLP - Sequence Models for NLP
Given this code snippet, what will be the shape of the output from the Bidirectional LSTM layer?
from tensorflow.keras.layers import Bidirectional, LSTM, Input from tensorflow.keras.models import Model inputs = Input(shape=(10, 8)) lstm = Bidirectional(LSTM(16, return_sequences=False))(inputs) model = Model(inputs, lstm) print(model.output_shape)
