示例#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()
示例#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()
示例#3
0
文件: random.py 项目: zwytop/pytorch
def initial_seed():
    _lazy_init()
    return _C._cuda_initialSeed()
示例#4
0
def initial_seed():
    r"""Returns the current random seed"""
    _lazy_init()
    return _C._cuda_initialSeed()