[参数完全一致]torch.cuda.manual_seed

torch.cuda.manual_seed

torch.cuda.manual_seed(seed)

paddle.seed

paddle.seed(seed)

功能一致,参数完全一致,具体如下:

参数映射

| PyTorch | PaddlePaddle | 备注 | | ————- | ———— | —————————————————— | | seed | seed | 表示设置的的随机种子。|