🚀 LEVEL UP TO SENIOR:Unlock 500+ Advanced Practical Challenges & Exercises.
🎓 COURSERA PARTNER:Earn professional Google, Meta, and IBM certificates to supercharge your resume.

Project 17: Sequence RNN Builder

ML Engineer

Builds on these lessons

Current Task

Objective

A SimpleRNN layer processes a sequence step by step, carrying a hidden state forward — the basic building block for sequence data.

Task: build a small RNN model for a 5-step sequence and print its summary.

index.py
import tensorflow as tf from tensorflow.keras import layers, Sequential model = Sequential([ layers.SimpleRNN(8, input_shape=(5, 1)), layers.Dense(1) ]) print(model.summary())

* Hint: Correct characters turn green, incorrect ones turn red.

Live Preview
🖼️

Verify your code to see the preview