def get_random_weight(dim1, dim2, left=-0.1, right=0.1): return np.random.uniform(left, right, (dim1, dim2)).astype(config.floatX)