def random_unif(rng, dim, low=1, high=10):
 return rng.uniform(low, high, size=dim).astype(theano.config.floatX)

def random_unif ( rng , dim , low = 1 , high = 10 ) : return rng . uniform ( low , high , size = dim ) . astype ( theano . config . floatX )
generate some floatx uniform random numbers .