Skip to content
fn

softplus_op

→TensorImplPtr
int softplus_op(const int & a)

Python wrappers

Public Python APIs implemented by this engine symbol.

Softplus y=log⁡(1+ex)y = \log(1 + e^x).

See Also

SoftplusBackward : Autograd node implementing the gradient rule.

Parameters

aTensorImplPtr
Input tensor.

Returns

TensorImplPtr

Output tensor with values in (0,∞)(0, \infty).