oa::FnMatrix::softplus
softplus: Softplus: out = log(1+exp(A)), computed stably as max(A,0)+log1p(exp(-|A|)) (no f32 overflow).
Function Documentation
softplus: Softplus: out = log(1+exp(A)), computed stably as max(A,0)+log1p(exp(-|A|)) (no f32 overflow).
Parameters
inAconst oa::Matrix &—
Returns
oa::MatrixThe declared return value.