TypeError: norm() received an invalid combination of arguments解决办法
1.问题使用pytorch中torch.nn.functional模块时,出现以下报错:问题代码位于:mean,std=[0.485,0.456,0.406],[0.229,0.224,0.225]inputs=F.normalize(inputs,mean,std)targets=F.normalize(targets,mean,std)想要利用F.normalize进行归一化操作,传入参数为预