torch.nn.functional. normalize (input, p=2, dim=1, eps=1e-12, out=None). 本质上就是按照某个维度计算范数,p表示计算p范数(等于2就是2范 ...
確定! 回上一頁