Simple reverse-mode Autodiff in Julia - Computational Chain

  Рет қаралды 845

Machine Learning & Simulation

Machine Learning & Simulation

Күн бұрын

Пікірлер: 5
@liangli-wei9316
@liangli-wei9316 10 ай бұрын
Man this is great. Thanks!
@MachineLearningSimulation
@MachineLearningSimulation 9 ай бұрын
Thanks a lot, you're welcome.
@kefre10
@kefre10 Жыл бұрын
One time you evaluated the derivate at 1.0 instead of 2.0, why did you get the same result?
@kefre10
@kefre10 Жыл бұрын
Ah it needs the cotangend at this point
@MachineLearningSimulation
@MachineLearningSimulation Жыл бұрын
Great question! 😊 Yes, you figured it out. The pullback at lines 57 and 61 give the derivative if evaluated at 1.0. Since they effectively evaluate the vector-Jacobian product we need to provide a vector (here just a scalar) to left-multiply the Jacobian with. Using just 1.0 gives the unscaled derivative.
Simple reverse-mode Autodiff in Python
15:52
Machine Learning & Simulation
Рет қаралды 2,4 М.
Reverse Mode Autodiff in Python (general compute graph)
31:33
Machine Learning & Simulation
Рет қаралды 1,1 М.
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 98 МЛН
HAH Chaos in the Bathroom 🚽✨ Smart Tools for the Throne 😜
00:49
123 GO! Kevin
Рет қаралды 15 МЛН
POV: Your kids ask to play the claw machine
00:20
Hungry FAM
Рет қаралды 22 МЛН
Keynote: Dr. Stephen Wolfram | ASE60
1:03:55
The Julia Programming Language
Рет қаралды 7 М.
The Reparameterization Trick
17:35
ML & DL Explained
Рет қаралды 20 М.
Transformations & AutoDiff | Lecture 3 | MIT Computational Thinking Spring 2021
53:58
The Julia Programming Language
Рет қаралды 15 М.
Projects Every Programmer Should Try
16:58
ThePrimeTime
Рет қаралды 462 М.
Unrolled Autodiff of iterative Algorithms
28:54
Machine Learning & Simulation
Рет қаралды 1,5 М.
Intuition behind reverse mode algorithmic differentiation (AD)
13:17
Dynamic Programming isn't too hard. You just don't know what it is.
22:31
DecodingIntuition
Рет қаралды 153 М.
Why Does Diffusion Work Better than Auto-Regression?
20:18
Algorithmic Simplicity
Рет қаралды 323 М.
Chris Rackauckas - NonlinearSolve.jl: Efficient Rootfinding and Algebraic Equations in Julia
36:02
Running With Bigger And Bigger Lunchlys
00:18
MrBeast
Рет қаралды 98 МЛН