Shortcuts

torch.nn.functional.softsign

torch.nn.functional.softsign(input) 张量[源代码]

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

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

优云智算