function erf_(x) {
	  var $x = convertToTensor(x, 'x', 'erf');
	  assert($x.dtype === 'int32' || $x.dtype === 'float32', function () {
	    return 'Input dtype must be `int32` or `float32`.';
	  });

	  if ($x.dtype === 'int32') {
	    $x = cast($x, 'float32');
	  }

	  var inputs = {
	    x: $x
	  };
	  return ENGINE.runKernel(Erf, inputs);
	}
Computes gause error function of the input `tf.Tensor` element-wise:
`erf(x)`

```js
const x = tf.tensor1d([0, .1, -.1, .7]);

x.erf().print(); // or tf.erf(x);
```
@param x The input tensor.

@doc {heading: 'Operations', subheading: 'Basic math'}