import math

안준모·2024년 3월 4일

import math
a = torch.tensor([torch.nan])
print(a)
math.isnan(a)

tensor([nan])
True

profile
MLops 에 관심이 많습니다.

0개의 댓글