torch._foreach_erfc(self)
Paddle 无此 API,需要组合实现。
# PyTorch 写法 torch._foreach_erfc(tensors) # Paddle 写法 tuple([(1-paddle.erf(x)) for x in tensors])