softplus {bnns}R Documentation

softplus transformation

Description

softplus transformation

Usage

softplus(x)

Arguments

x

A numeric vector or matrix on which softplus transformation is going to be applied.

Value

A numeric vector or matrix after softplus transformation.

Examples

softplus(matrix(1:4, nrow = 2))

[Package bnns version 0.1.2 Index]