Exemple #1
0
def set_random_seed(seed):
    """Set the global random seed.

    Parameters
    ----------
    seed : int
        The seed to use.

    """
    config.SetRandomSeed(seed)
Exemple #2
0
def set_random_seed(seed):
    """Set the global random seed. [**PyCaffe Style**]

    Parameters
    ----------
    seed : int
        The random seed.

    Returns
    -------
    None

    References
    ----------
    The implementation of `set_random_seed(_caffe.cpp, L71)`_.

    """
    config.SetRandomSeed(seed)
Exemple #3
0
def set_random_seed(seed):
    config.SetRandomSeed(seed)