Speeding up a Python loop with Numba JIT
Compiling a numerical function to machine code with a single decorator.
AI Code Explorer
Code examples at five levels (beginner, intermediate, advanced, research, applied); each example has a goal, commented code, requirements and how to run it. 61 of the 69 examples were actually run and their output recorded.
Compiling a numerical function to machine code with a single decorator.
Running NumPy-style code on the GPU.
Writing a GPU kernel in Python instead of CUDA C++.
No code runs on the site's server; copy the example and run it on your machine or in a Jupyter notebook. Examples marked “not run” need a GPU or large model downloads, so check them against the official documentation.
Sections
No section has this name. Press “Search” to search all site content.
Favourites
My results & certificates
My academy progressMy quiz resultsKids’ progressAcademy certificatesQuiz certificatesStart any lesson or quiz and it will show up here so you can get back to it quickly.
Settings
I am the AI Frameworks & Libraries Assistant. Describe your project or ask me about a library, a comparison or a code example, and I will answer from the encyclopedia's database with links and sources.
Answers from the encyclopedia's database only, without a language model and without sending your question to any third party.
The assistant can make mistakes, so check the attached sources.