mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
9 lines
470 B
Plaintext
9 lines
470 B
Plaintext
Autograd can automatically differentiate native Python and Numpy
|
|
code. It can handle a large subset of Python's features, including
|
|
loops, ifs, recursion and closures, and it can even take derivatives
|
|
of derivatives of derivatives. It uses reverse-mode differentiation
|
|
(a.k.a. backpropagation), which means it can efficiently take
|
|
gradients of scalar-valued functions with respect to array-valued
|
|
arguments. The main intended application is gradient-based
|
|
optimization.
|