https://blog.csdn.net/qq_43868654/article/details/98246842
e/E表示10的幂:
AeB,表示小数点在A上左移或者右移B次。
import torch a=torch.tensor([1,2,3,4,5,6]) print(torch.clamp(a,2,5)) #输出: tensor([2, 2, 3, 4, 5, 5])
实现削减值。
原文:https://www.cnblogs.com/BlueBlueSea/p/12987863.html