Skip to content

OpenVINO™ is an open source toolkit for optimizing and deploying AI inference

1.2 KB
Raw Blame
Exp
===


.. meta::
  :description: Learn about Exp-1 - an element-wise, activation operation, which
                can be performed on a single tensor in OpenVINO.

**Versioned name**: *Exp-1*

**Category**: *Activation function*

**Short description**: Exponential element-wise activation function.

**Detailed description**

*Exp* performs element-wise exponential activation function on a given input tensor. The mathematical formula is as follows:

.. math::

   exp(x) = e^{x}

**Attributes**: *Exp* operation has no attributes.

**Inputs**

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

**Outputs**

* **1**: The result of element-wise *Exp* 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**

.. code-block:: xml
   :force:

   <layer ... type="Exp">
       <input>
           <port id="0">
               <dim>1</dim>
               <dim>256</dim>
           </port>
       </input>
       <output>
           <port id="1">
               <dim>1</dim>
               <dim>256</dim>
           </port>
       </output>
   </layer>