Files
openvino/docs/ops/activation/Mish_4.md
T
Patryk Elszkowski de53c40578 bulk change type T to type *T* in spec (#6486)
* bulk change `type T` to `type *T*` in spec

* update all `T` which referee to type to use *T* pattern

* get back with `T` where T is dimension

* fix *T*1 -> *T1*

* Make italic types where was no formating
2021-07-02 13:51:00 +03:00

1.2 KiB

Mish

Versioned name: Mish-4

Category: Activation function

Short description: Mish is a Self Regularized Non-Monotonic Neural Activation Function.

Detailed description

Mish is a self regularized non-monotonic neural activation function proposed in this article.

Mish performs element-wise activation function on a given input tensor, based on the following mathematical formula:

\f[ Mish(x) = x\cdot\tanh\big(SoftPlus(x)\big) = x\cdot\tanh\big(\ln(1+e^{x})\big) \f]

Attributes: Mish operation has no attributes.

Inputs:

  • 1: A tensor of type T and arbitrary shape. Required.

Outputs:

  • 1: The result of element-wise Mish 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="Mish">
    <input>
        <port id="0">
            <dim>256</dim>
            <dim>56</dim>
        </port>
    </input>
    <output>
        <port id="3">
            <dim>256</dim>
            <dim>56</dim>
        </port>
    </output>
</layer>