Skip to content
fn

erf_op

→TensorImplPtr
int erf_op(const int & a)

Python wrappers

Public Python APIs implemented by this engine symbol.

Compute y=erf(x)y = \mathrm{erf}(x) element-wise. Allocates a fresh output of the same shape and dtype as a and delegates to ErfBackward::forward.

See Also

ErfBackward — backward node.

Parameters

aTensorImplPtr
Input tensor of any shape. Domain is all of R\mathbb{R}.

Returns

TensorImplPtr

Output tensor of the same shape and dtype, values in (−1,1)(-1, 1).