op_softplus: Softplus

Description Usage Arguments Details

Description

Softplus operation. Computes the element-wise softplus of x:

Usage

1
op_softplus(x, steepness = 1, name = "")

Arguments

x

matrix or CNTK Function that outputs a tensor

name

(str) the name of the Function instance in the network

Details

softplus(x)=log(1+exp(x))softplus(x)=log⁡(1+exp⁡(x))

The optional steepness allows to make the knee sharper (steepness>1) or softer, by computing softplus(x * steepness) / steepness. (For very large steepness, this approaches a linear rectifier).

The output tensor has the same shape as x.


Microsoft/CNTK-R documentation built on May 28, 2019, 1:52 p.m.