<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/keras-team/keras/tree/v3.15.1/keras/src/ops/math.py#L1197-L1215) |

Computes the inverse error function of `x`, element-wise.

    tf.keras.ops.erfinv(
        x
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `x` | Input tensor. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A tensor with the same dtype as `x`. ||

<br />

#### Example:

    x = np.array([-0.5, -0.2, -0.1, 0.0, 0.3])
    keras.ops.erfinv(x)
    array([-0.47694, -0.17914, -0.08886,  0. ,  0.27246], dtype=float32)