-
I figured out how to do a relatively fast (on the order of the inversion of the gradient finding step [the backpropagation or reverse mode autodiff or whatever] as opposed to the naive order of the gr…
-
https://github.com/LuxDL/LuxLib.jl/blob/ef784ed12d473269f3fc4a4d3470d0f447b66ea7/src/impl/dense.jl#L35
I imagine it would be fairly similar to https://github.com/FluxML/NNlib.jl/blob/master/ext/NNl…
-
The following snippet prints null gradients while if using `backward(c, true)` we get the right value (5.0, 2.0):
```C++
using FloatD = DiffArray;
FloatD a = 2.0f;
FloatD b = 5.0f;
set_requires…
-
Hi, I'm trying to use Enzyme for reverse diff of a function that uses left division. For x = A \ b, I get errors if b is a matrix but no errors if b is a vector. Here is a MWE that illustrates the err…
-
Some examples / text from a conversation with @harshithamenon I'm copying here so we don't lose/forget about, and we can reincorporate into docs: https://fwd.gymni.ch/WfDU2f
```c
#include
#inclu…
-
-
### Issue type
Bug
### Have you reproduced the bug with TensorFlow Nightly?
Yes
### Source
source
### TensorFlow version
2.14.0-dev20230630
### Custom code
Yes
### OS platform and distributi…
-
```python
from jax import hessian
from jax.random import PRNGKey, gamma
key = PRNGKey(1)
hessian_sample = hessian(gamma, argnums=(1,))
# NotImplementedError: Differentiation rule for 'random_ga…
-
| | |
|------------------|-----------------|
|Previous ID | SR-13096 |
|Radar | rdar://problem/72819053 |
|Original R…
-
Could you please add an example with a simple CUDA kernel in the Julia [introduction notebook](https://github.com/EnzymeAD/Enzyme-Tutorial/blob/main/julia/introduction.ipynb) ?