Exp specification refactoring (#5033)

* Review spec of Exp operation

* Minor change in example section

* Address review comments related to wording
This commit is contained in:
Gabriele Galiero Casay 2021-03-31 17:41:28 +02:00 committed by GitHub
parent 77d4fbc286
commit 4dad5bc0b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,12 +6,43 @@
**Short description**: Exponential element-wise activation function.
**Attributes**: has no attributes
**Detailed description**
**Inputs**:
*Exp* performs element-wise exponential activation function on a given input tensor. The mathematical formula is as follows:
* **1**: Input tensor x of any floating point type. Required.
\f[
exp(x) = e^{x}
\f]
**Outputs**:
**Attributes**: *Exp* operation has no attributes.
* **1**: Result of Exp function applied to the input tensor *x*. Floating point tensor with shape and type matching the input tensor.
**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**
```xml
<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>
```