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