[ 参数完全一致 ] torch.nn.Softplus¶
torch.nn.Softplus¶
torch.nn.Softplus(beta=1, threshold=20)
参数映射¶
| PyTorch | PaddlePaddle | 备注 |
|---|---|---|
| beta | beta | Softplus 公式的 beta 值。 |
| threshold | threshold | 恢复线性公式的阈值。 |
torch.nn.Softplus(beta=1, threshold=20)
| PyTorch | PaddlePaddle | 备注 |
|---|---|---|
| beta | beta | Softplus 公式的 beta 值。 |
| threshold | threshold | 恢复线性公式的阈值。 |