Open AStupidBear opened 4 years ago
I would like to add support for this as well by defining a pullback.
Perhaps of interest:
using Tullio
bar(x) = sum(@tullio y[i,j] := tanh(x[i,j]))
bar'(x)
bar2(x) = @tullio s := tanh(x[i,j]) # without allocating y
bar2'(x)
I want to take gradient of a vectorized expression, however the adjoint of vmaterialize is not defined.