评价此页

torch.nn.functional.softsign#

torch.nn.functional.softsign(input) Tensor[源代码]#

逐元素应用函数 SoftSign(x)=x1+x\text{SoftSign}(x) = \frac{x}{1 + |x|}

有关更多详细信息,请参阅 Softsign