[ 仅 API 调用方式不一致 ]torch.cuda.get_rng_state_all
torch.cuda.get_rng_state_all
torch.cuda.get_rng_state_all()
转写示例
# PyTorch 写法
result = torch.cuda.get_rng_state_all()
# Paddle 写法
result = paddle.get_rng_state()

torch.cuda.get_rng_state_all()
# PyTorch 写法
result = torch.cuda.get_rng_state_all()
# Paddle 写法
result = paddle.get_rng_state()