pytorch:https://pytorch.org/docs/stable/generated/torch.rand.html?highlight=torch%20rand#torch.rand pytorch中文教程文档地址:https://pytorch.apachecn.org/