Lior Sinai 8/3/2024

MicroGrad.jl: Part 2 Automation with expressions

Read Original

This technical article details Part 2 of a series on building an automatic differentiation (AD) system in Julia. It focuses on using metaprogramming and generated functions to automate the creation of a primal forward pass and its corresponding backward (pullback) pass from expression-based Wengert lists. The content is highly technical, covering topics like differentiating SSA-form programs and serving as a precursor to a more robust IR-based approach discussed in Part 3.

MicroGrad.jl: Part 2 Automation with expressions

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser