-
### Description
The following code fails to compile in release mode. (Debug mode works!)
The crash only happens when the code is in a separate module and called from a second module, executable.
…
-
Looks like tangent only supports autograd on operations registered at `adjoint`. Is it a good idea to simply ignore those non-registered operations when doing autograd?
```python
def f(x):
a = …
-
The reverse mode autodiff::gradient function is great for Eigen vector types! Would it be possible to generalize this function to accept more general shaped Eigen types (MxN matrices, that is, Eigen::…
-
### Description
Very similar structure to #75774 but a different error with a minor change!
The provided code fails to build with `swift build -c release`. Builds fine in debug mode.
### Reproducti…
-
```python
def test(x):
elem = -1
for r, xxx in enumerate(x):
elem = r
return 5
```
```pytb
In [26]: xxx = tangent.grad(test)
----------------------------------------------…
-
Hello,
I ran into a compilation issue that was triggered deep into Eigen ([here](https://gitlab.com/libeigen/eigen/-/blob/master/Eigen/src/Core/products/TriangularSolverMatrix.h#L124)) from e.g. th…
-
Minimal test case:
```python
import tangent
import numpy as np
def forward(theta, states):
return states
def loss(theta, states, actions):
err = forward(theta, actions)
retur…
-
I would like to use the basic calculations in SparseMatrixCSC, but they do not work.
The following is a simple SparseMatrixCSC-to-SparseMatrixCSC addition program.
```julia
using Enzyme
using Li…
-
Apologies that I haven't simplified this example more:
```cpp
#include
#include
#include
// llt
#include
#include
// tictoc function to return time since last call in seconds
#incl…
-
I'm loving the provenance in the new documentation. One thing I think that would be helpful is to know which functions have derivatives and which rely on autodiff. It helps to understand from a perfor…