braincore.transform module#
This module contains the functions for the transformation of the brain data.
Transform Functions#
|
Take vector-valued gradients for function |
|
Compute the gradient of a scalar-valued function with respect to its arguments. |
|
Extending automatic Jacobian (reverse-mode) of |
|
Extending automatic Jacobian (forward-mode) of |
|
Extending automatic Jacobian (reverse-mode) of |
|
Hessian of |
|
Conditionally apply |
|
Apply exactly one of |
|
|
|
Scan a function over leading array axes while carrying along state. |
|
|
|
Call |
|
Sets up |
Transform Tools#
A wrapper class for a function that collects the states that are read and written by the function. |
|
Creates a function that produces its jaxpr given example args. |
|
Check errors in a jit function. |