Our code examples are short (less than 300 lines of code), focused demonstrations of vertical deep learning workflows.
All of our examples are written as Jupyter notebooks and can be run in one click in Google Colab, a hosted notebook environment that requires no setup and runs in the cloud. Google Colab includes GPU and TPU runtimes.
We welcome new code examples! Here are our rules:
New examples are added via Pull Requests to the keras.io repository.
They must be submitted as a
.py file that follows a specific format. They are usually generated from Jupyter notebooks.
tutobooks documentation for more details.