zhusuan/distributions/utils.py
def open_interval_standard_uniform(shape, dtype):
    """
    Return samples from uniform distribution in unit open interval (0, 1).

    :param shape: The shape of generated samples.
    :param dtype: The dtype of generated samples.
    :return: A Tensor of samples.
    """
    return tf.random_uniform(
        shape=shape,
        minval=np.finfo(dtype.as_numpy_dtype).tiny,
        maxval=1.,
        dtype=dtype)

    Return samples from uniform distribution in unit open interval (0, 1).

    :param shape: The shape of generated samples.
    :param dtype: The dtype of generated samples.
    :return: A Tensor of samples.
    
Return samples from uniform distribution in unit open interval (0, 1).
Return samples from uniform distribution in unit open interval ( 0 1 ) .
def open_interval_standard_uniform(shape, dtype):
    return tf.random_uniform(
        shape=shape,
        minval=np.finfo(dtype.as_numpy_dtype).tiny,
        maxval=1.,
        dtype=dtype)
def open_interval_standard_uniform ( shape , dtype ) : return tf . random_uniform ( shape = shape , minval = np . finfo ( dtype . as_numpy_dtype ) . tiny , maxval = 1. , dtype = dtype )
Return samples from uniform distribution in unit open interval (0, 1).
Return samples from uniform distribution in unit open interval ( 0 1 ) .
"""
    Return samples from uniform distribution in unit open interval (0, 1).

    :param shape: The shape of generated samples.
    :param dtype: The dtype of generated samples.
    :return: A Tensor of samples.
    """
A Tensor of samples.
A Tensor of samples .
shape
The shape of generated samples.
The shape of generated samples .
dtype
The dtype of generated samples.
The dtype of generated samples .