def shared_normal(num_rows, num_cols, scale=1):
 return theano.shared(numpy.random.normal(scale=scale, size=(num_rows, num_cols)).astype(theano.config.floatX))

def shared_normal ( num_rows , num_cols , scale = 1 ) : return theano . shared ( numpy . random . normal ( scale = scale , size = ( num_rows , num_cols ) ) . astype ( theano . config . floatX ) )
initialize a matrix shared variable with normally distributed elements .