Gurpreet kaur Chabada

Results 1 comments of Gurpreet kaur Chabada

In optim.py change gshared to gshared = [theano.shared(p.get_value().astype('float32'), name='%s_grad'%k) for k, p in tparams.items()] and in the loop that appends values to 'updates' add: m = theano.shared(p.get_value().astype(numpy.float32)) v = theano.shared(p.get_value().astype(numpy.float32))