PyTorch
torch / torch
torch.erfc¶
-
torch.
erfc
(input, *, out=None) → Tensor¶ Computes the complementary error function of each element of
input
. The complementary error function is defined as follows:erfc(x)=1−π2∫0xe−t2dt- Parameters
input (Tensor) – the input tensor.
- Keyword Arguments
out (Tensor, optional) – the output tensor.
Example:
>>> torch.erfc(torch.tensor([0, -1., 10.])) tensor([ 1.0000, 1.8427, 0.0000])
此页内容是否对您有帮助
感谢反馈!