tf.math.erfcinv
Stay organized with collections
Save and categorize content based on your preferences.
Computes the inverse of complementary error function.
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
, and is defined on
[0, 2]
.
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)>
Args |
x
|
Tensor with type float or double .
|
name
|
A name for the operation (optional).
|
Returns |
Inverse complementary error function of x .
|
Equivalent to scipy.special.erfcinv
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. Some content is licensed under the numpy license.
Last updated 2023-10-06 UTC.
[null,null,["Last updated 2023-10-06 UTC."],[],[],null,["# tf.math.erfcinv\n\n\u003cbr /\u003e\n\n|------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.13.1/tensorflow/python/ops/math_ops.py#L5419-L5446) |\n\nComputes the inverse of complementary error function.\n\n#### View aliases\n\n\n**Compat aliases for migration**\n\nSee\n[Migration guide](https://www.tensorflow.org/guide/migrate) for\nmore details.\n\n[`tf.compat.v1.math.erfcinv`](https://www.tensorflow.org/api_docs/python/tf/math/erfcinv)\n\n\u003cbr /\u003e\n\n tf.math.erfcinv(\n x, name=None\n )\n\nGiven `x`, compute the inverse complementary error function of `x`.\nThis function is the inverse of [`tf.math.erfc`](../../tf/math/erfc), and is defined on\n`[0, 2]`. \n\n tf.math.erfcinv([0., 0.2, 1., 1.5, 2.])\n \u003ctf.Tensor: shape=(5,), dtype=float32, numpy=\n array([ inf, 0.9061935, -0. , -0.4769363, -inf],\n dtype=float32)\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|--------|-----------------------------------------|\n| `x` | `Tensor` with type `float` or `double`. |\n| `name` | A name for the operation (optional). |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| Inverse complementary error function of `x`. ||\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nnumpy compatibility\n-------------------\n\n\u003cbr /\u003e\n\nEquivalent to scipy.special.erfcinv\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e"]]