Build as shown!
You will take on a final challenge before moving on to the next lesson. Build the network shown in the picture below. Prove your mastered Keras basics in no time!
Latihan ini adalah bagian dari kursus
Introduction to Deep Learning with Keras
Petunjuk latihan
- Instantiate a
Sequentialmodel. - Build the input and hidden layer.
- Add the output layer.
Latihan interaktif praktis
Cobalah latihan ini dengan menyelesaikan kode contoh berikut.
from tensorflow.keras.models import Sequential
from tensorflow.keras.layers import Dense
# Instantiate a Sequential model
model = ____
# Build the input and hidden layer
model.____
# Add the ouput layer
model.____