Yes I solved the problem. Theano doesn't calculate derivatives of vector with respecto to another vector or matrix, it must be a scalar. To compute derivative of a vector one can use a loop and use the function T.grad() for each element. That's what I did.
Best regards! Em quinta-feira, 25 de janeiro de 2018 01:38:00 UTC-3, Nicolás Mercado escreveu: > > Were you able to fine a workaround? > My suggestion is to use T.Lop instead of T.grad. -- --- You received this message because you are subscribed to the Google Groups "theano-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
