Closed ClemensSchwarke closed 5 months ago
Hi Clemens, this looks like a bug - we will look at supporting gradient propagation through slicing in the next release.
Thanks! Miles
Sorry for the delay in getting to this. I'll have a look soon.
A fix for this will be available in the next release.
Thanks a lot (:
This was addressed as part of Warp 1.1.0.
Hi, I had some trouble figuring out that the gradient of, in my case, a 2d array is only backpropagated correctly if its elements are accessed with
[a,b]
indexing. Using two slicing operators[a][b]
leads to adjoints being 0.Minimal example:
Output: [[[1. 1. 1.]]] [[[0. 0. 0.]]] [[[0. 0. 0.]]]
Is this intended? Thanks in advance! Clemens