1.2 KiB
1.2 KiB
SoftPlus
Versioned name: SoftPlus-4
Category: Activation function
Short description: SoftPlus is a rectified-based element-wise activation function.
Detailed description
SoftPlus operation is introduced in this article.
SoftPlus performs element-wise activation function on a given input tensor, based on the following mathematical formula:
\f[ SoftPlus(x) = \ln(1+e^{x}) \f]
Attributes: SoftPlus operation has no attributes.
Inputs:
- 1: A tensor of type
Tand arbitrary shape. Required.
Outputs:
- 1: The result of element-wise SoftPlus function applied to the input tensor. A tensor of type
Tand the same shape as input tensor.
Types
- T: arbitrary supported floating-point type.
Example
<layer ... type="SoftPlus">
<input>
<port id="0">
<dim>256</dim>
<dim>56</dim>
</port>
</input>
<output>
<port id="1">
<dim>256</dim>
<dim>56</dim>
</port>
</output>
</layer>