``` c = complex(float('nan'), float('inf')) l = [c] * 300 t = torch.tensor(l) torch.abs(t) ``` will produce a tensor with mostly `nan` values. NumPy, however, and non-vectorized `torch.abs`, will produce `inf` values. cc @ezyang @anjali411 @dylanbespalko
will produce a tensor with mostly
nanvalues. NumPy, however, and non-vectorizedtorch.abs, will produceinfvalues.cc @ezyang @anjali411 @dylanbespalko