Lesson 56 of 60
pythonDeep Learning Foundations – TensorFlow Basics
25 minutes
Course progress93%
TensorFlow Basics
TensorFlow is an open‑source library for numerical computation and large‑scale machine learning. Keras, now integrated as tf.keras, provides a high‑level API.
Installing TensorFlow
pip install tensorflow
Hello World: a simple dense network
import tensorflow as tf
from tensorflow keras
tensorflow.keras layers
model = keras.Sequential([
layers.Dense(, activation=, input_shape=(,)),
layers.Dense(, activation=)
])
model.(optimizer=, loss=, metrics=[])
(model.summary())