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 merupakan bagian dari kursus
Introduction to Deep Learning with Keras
Instruksi latihan
- Instantiate a
Sequentialmodel. - Build the input and hidden layer.
- Add the output layer.
Latihan interaktif langsung praktik
Cobalah latihan ini dengan melengkapi kode contoh ini.
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.____