Open asmeurer opened 3 weeks ago
This follows the NumPy behavior, where the result is nan if any operand is nan. I checked PyTorch and it seems to do this as well.
This follows the NumPy behavior, where the result is nan if any operand is nan. I checked PyTorch and it seems to do this as well.