Files
openvino/docs/ops/activation/SoftPlus_4.md
Gabriele Galiero Casay 15b36ee8d1 SoftPlus specification refactoring (#5036)
* Review spec of SoftPlus operation

* Fix minor wording issues
2021-04-01 16:09:04 +03:00

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 T and arbitrary shape. Required.

Outputs:

  • 1: The result of element-wise SoftPlus function applied to the input tensor. A tensor of type T and 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>