tf.erf(x, name=None)

tf.erf(x, name=None)

See the guide: Math > Basic Math Functions

Computes the Gauss error function of x element-wise.


  • x: A Tensor of SparseTensor. Must be one of the following types: half, float32, float64.
  • name: A name for the operation (optional).


A Tensor or SparseTensor, respectively. Has the same type as x.

Defined in tensorflow/python/ops/