#【class4 students32 scores8】 #给2班每个学生加5分 x=torch.ones(4,32,8) x y = torch.tensor([0,5,0,0]).reshape(4,1,1) x+y