The TensorFlow tutorials are written as Jupyter notebooks and run directly in Google Colab—a hosted notebook environment that requires no setup. At the top of each tutorial, you'll see a Run in Google Colab button. Click the button to open the notebook and run the code yourself.
For beginners
Beginner quickstart
This "Hello, World!" notebook shows the Keras Sequential API andmodel.fit
.
Keras basics
This notebook collection demonstrates basic machine learning tasks using Keras.Load data
These tutorials usetf.data
to load various data formats and build input pipelines.
For experts
Advanced quickstart
This "Hello, World!" notebook uses the Keras subclassing API and a custom training loop.Customization
This notebook collection shows how to build custom layers and training loops in TensorFlow.Distributed training
Distribute your model training across multiple GPUs, multiple machines or TPUs.
The Advanced section has many instructive notebooks examples, including Neural machine translation, Transformers, and CycleGAN.