Exemple #1
0
def initial_seed():
    r"""Returns the current random seed of the current GPU.

    .. warning::
        This function eagerly initializes CUDA.
    """
    _lazy_init()
    return _C._cuda_initialSeed()
Exemple #2
0
def initial_seed():
    r"""Returns the current random seed of the current GPU.

    .. warning::
        This function eagerly initializes CUDA.
    """
    _lazy_init()
    return _C._cuda_initialSeed()
Exemple #3
0
def initial_seed():
    _lazy_init()
    return _C._cuda_initialSeed()
Exemple #4
0
def initial_seed():
    r"""Returns the current random seed"""
    _lazy_init()
    return _C._cuda_initialSeed()