Normally, they should agree, so this can be a bug. An MWE replicating this would be helpful.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
ReverseDiff for loss function with Zygote derivatives | 1 | 394 | February 10, 2023 | |
Taking gradients in Julia | 7 | 1989 | September 28, 2021 | |
Hessian matrix of ML model | 9 | 2161 | April 28, 2021 | |
Taking gradients of a matrix exponential | 10 | 889 | January 2, 2024 | |
Zygote hessian | 3 | 1696 | August 10, 2020 |