def set_seed(seed):
    'Set seed for reproduction.\n    '
    seed = (seed + dist.get_rank())
    random.seed(seed)
    np.random.seed(seed)
    paddle.seed(seed)
    os.environ['PYTHONHASHSEED'] = str(seed)
Set seed for reproduction.
def set_seed(seed):
    '\n    '
    seed = (seed + dist.get_rank())
    random.seed(seed)
    np.random.seed(seed)
    paddle.seed(seed)
    os.environ['PYTHONHASHSEED'] = str(seed)