<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.15.1/tensorflow/python/ops/math_ops.py#L5547-L5574) |

Computes the inverse of complementary error function.

```python
tf.math.erfcinv(
    x, name=None
)
```

Given `x`, compute the inverse complementary error function of `x`.
This function is the inverse of [`tf.math.erfc`](https://www.tensorflow.org/versions/r2.15/api_docs/python/tf/math/erfc.md.txt), and is defined on
`[0, 2]`.

```python
tf.math.erfcinv([0., 0.2, 1., 1.5, 2.])
<tf.Tensor: shape=(5,), dtype=float32, numpy=
array([       inf,  0.9061935, -0.       , -0.4769363,       -inf],
      dtype=float32)>
```

<br />

<br />

<br />

| ## Args ||
|---|---|
| `x` | `Tensor` with type `float` or `double`. |
| `name` | A name for the operation (optional). |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| Inverse complementary error function of `x`. ||

<br />

<br />

## numpy compatibility

<br />

Equivalent to scipy.special.erfcinv

<br />

<br />