Erf

Versioned name: Erf-1

Category: Arithmetic unary operation

Short description: Erf calculates the Gauss error function element-wise with given tensor.

Detailed Description

For each element from the input tensor calculates corresponding element in the output tensor with the following formula:

\[ erf(x) = \pi^{-1} \int_{-x}^{x} e^{-t^2} dt \]

Attributes:

No attributes available.

Inputs

Outputs

Types

Examples

Example 1

<layer ... type="Erf">
<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>