torch.clamp()函数 参考博客:https://blog.csdn.net/weixin_39504171/article/details/106069230
torch哈达玛积和普通乘积 https://zhuanlan.zhihu.com/p/537877779
torch.mean() https://blog.csdn.net/qq_37320017/article/details/124941528
torch.sum() https://blog.csdn.net/qq_37803694/article/details/127399922
torch.expand() and torch.expand_as() https://blog.csdn.net/weixin_39504171/article/details/106090626
torch.cat() and torch.stack() https://blog.csdn.net/sweet_tea_/article/details/128551245
torch压缩扩展维度的方法torch.squeeze(input, dim=) torch.unsqueeze(input, dim=)