In C4_W4_Lab_1_LSTM.ipynb,
When build the model,
Reset states generated by Keras
tf.keras.backend.clear_session()
Build the model
model = tf.keras.models.Sequential([
tf.keras.layers.Conv1D(filters=64, kernel_size=3,
strides=1, padding=“causal”,
activation=“relu”,
input_shape=[window_size, 1]),
tf.keras.layers.LSTM(64, return_sequences=True),
tf.keras.layers.LSTM(64),
tf.keras.layers.Dense(1),
tf.keras.layers.Lambda(lambda x: x * 400)
])
Print the model summary
model.summary()
Why the output of conv1d (Conv1D) is (None, 20, 64) ?
How to understand the new_step calculation? Thanks so much!