def random_uniform(shape, low=0.0, high=1.0, dtype=None, seed=None):
 if (dtype is None):
  dtype = floatx()
 if (seed is None):
  seed = np.random.randint(10000000.0)
 return tf.random_uniform(shape, minval=low, maxval=high, dtype=dtype, seed=seed)

def random_uniform ( shape , low = 0.0 , high = 1.0 , dtype = None , seed = None ) : if ( dtype is None ) : dtype = floatx ( ) if ( seed is None ) : seed = np . random . randint ( 10000000.0 ) return tf . random_uniform ( shape , minval = low , maxval = high , dtype = dtype , seed = seed )
returns a tensor with uniform distribution # arguments shape: a tuple of integers .