“Pytorch”的版本间差异

来自Shiyin's note
跳到导航 跳到搜索
无编辑摘要
无编辑摘要
第4行: 第4行:
==网络初始化==
==网络初始化==
*Xavier and Kaiming initialization [https://www.jianshu.com/p/f2d800388d1c]
*Xavier and Kaiming initialization [https://www.jianshu.com/p/f2d800388d1c]

==函数==
*torch.clamp(input, min=None, max=None, *, out=None) → Tensor
Clamps all elements in input into the range [ min, max ]. Letting min_value and max_value be min and max, respectively, this returns:

2021年10月16日 (六) 10:10的版本

网络初始化

  • Xavier and Kaiming initialization [4]

函数

  • torch.clamp(input, min=None, max=None, *, out=None) → Tensor
Clamps all elements in input into the range [ min, max ]. Letting min_value and max_value be min and max, respectively, this returns: