I wanted to do a check whether a tensor is a floating point (torch.half, torch.float, or torch.double) and noticed there is a method torch.Tensor.is_floating_point() and a property torch.Tensor.dtype.is_floating_point.  Is one of these preferred to the other?  Also is there are reason these are not documented?