    <tr>
      <th>approximate</th>
      <td><p>bool, whether to enable approximation. Returns: A `Tensor`. Has the same type as `x`.</p></td>
    </tr>
    </table>

    <h2 class="hasAnchor" id="value"><a class="anchor" href="#value"></a>Value</h2>

    <p>A `Tensor`. Has the same type as `x`.</p>
    <h2 class="hasAnchor" id="details"><a class="anchor" href="#details"></a>Details</h2>

    <p>Computes gaussian error linear:
`0.5 * x * (1 + tanh(sqrt(2 / pi) * (x + 0.044715 * x^3)))` or
`x * P(X &lt;= x)