Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

When to use jax.jacrev() vs jax.jacfwd()? #2

@arcruz0

Description

@arcruz0

jax.jacrev() should be a performant option for calls with many parameters and few outputs (for example, a predictions(..., by = TRUE) call for a model with many parameters). How to handle which function to use?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions