[Feature request] prospects of integrating jax's jacfwd, jacrev, and hessian functions in mlx
Discussed in https://github.com/ml-explore/mlx/discussions/154
Originally posted by LiPingYen December 14, 2023
In JAX, there are jacfwd, jacrev, and hessian functions for transforming the objective function into functions that compute first-order or second-order derivatives. I'm curious to know if MLX has plans to incorporate these three functions in the future.
Definitely would like to have these transforms. I will make it a feature request. Contributions for this are very welcome until we have the bandwidth to get to it.
Hi @awni ,
I appreciate your responsiveness. Look forward to leveraging the capabilities of XLM to execute jacfwd, jacrev, and hessian functionalities in the near future.