AI Code Explorer

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.

Reset

5 matching examples

AdvancedJAXRun and tested

grad, vmap and jit in JAX

Composing function transformations: differentiation, vectorization and compilation.

Deep learning and building neural networks · Differentiable computing

MediumTensorFlowRun and tested

A custom training loop with GradientTape

Writing a manual training step in TensorFlow and compiling it with tf.function.

Deep learning and building neural networks · Basics

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.