Gradient fails for Dict constructed with a generator or a vector of pairs #1293
Labels
dictionary
enhancement
New feature or request
needs adjoint
missing rule
up for grabs
anyone is welcome to contribute with a PR to fix the issue
When taking the gradient of a function that uses a dict constructor using a generator or a list, it fails because there is a try/catch block somewhere.
e.g. for a generator
It works however if I slurp the vector
The text was updated successfully, but these errors were encountered: