Re: [theano-users] why does this gradient is invalid?

2017-08-09 Thread 佐藤優
I understand. I sincerely thank you. Sato 2017年8月10日木曜日 7時39分21秒 UTC+9 nouiz: > > This is a bug in one Theano optimization: local_dimshuffle_subtensor > > Thanks for the report. I made an issue so that we don't forget it: > > https://github.com/Theano/Theano/issues/6288 > > Frédéric > > On Wed,

Re: [theano-users] why does this gradient is invalid?

2017-08-09 Thread Frédéric Bastien
This is a bug in one Theano optimization: local_dimshuffle_subtensor Thanks for the report. I made an issue so that we don't forget it: https://github.com/Theano/Theano/issues/6288 Frédéric On Wed, Aug 9, 2017 at 4:50 AM 佐藤優 wrote: > I wonder why bellow code is invalid.. >

[theano-users] why does this gradient is invalid?

2017-08-09 Thread 佐藤優
I wonder why bellow code is invalid.. from numpy import * import theano.tensor as T x = T.dmatrix("x") mx = x[...,None,:] a = T.ones((1,3)) T.grad(mx[...,0].dot(a).sum(), a).eval({x:ones((5,10)).astype(float32)}) bellow error is emerged.