def erf(x: T.Tensor) -> T.Tensor: """ Elementwise error function of a tensor. Args: x: A tensor. Returns: tensor: Elementwise error function """ return special.erf(x)