Expand description
Implementations of function transformations.
Modules§
- Compilation of functions.
Traits§
- Trait for functions/closures that can be converted into a closure that computes the gradient.
- Similar to [
IntoValueAndGrad
] but for functions that take a hashmap of parameters. - Trait for functions/closures that can be converted into a closure that computes the value and gradient.
Functions§
- Asynchronously evaluate an iterator of
Array
s. - Asynchronously evaluate a module’s parameters.
- Evaluate an iterator of
Array
s. - Evaluate a module’s parameters.
- Similar to
jvp
but handles closures that can return an error. - Similar to
vjp
but handles closures that can return an error. - Returns a function which computes the gradient of
f
. - Compute the Jacobian-vector product.
- Returns a function which computes the value and gradient of
f
with keyed parameters. - Returns a function which computes the value and gradient of
f
. - Compute the vector-Jacobian product.
Type Aliases§
- Type alias for a hashmap of gradients.
- Type alias for a hashmap of parameters.