torch中tensor数据类型的转换

转换为float32类型:

points = points.type(torch.float32)