torch.Tensor.nan\_to\_num ========================= .. currentmodule:: torch .. automethod:: Tensor.nan_to_num