Hi,

Can someone tell me whats wrong with this code?

from theano.tensor.shared_randomstreams import RandomStreamsfrom theano import 
function
import theano.tensor as T
srng = RandomStreams(seed=234)
x=T.matrix()
rv_u = srng.uniform(x.shape)f = function([x],rv_u+x)

My requirement is as follows: I want to add a random matrix to the matrix 
that I am sending as input. ( I am looking for this to implement noisy SGD) 

-- 

--- 
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.

Reply via email to