Expected scalar type Double but found Float

Ok… when I do model = modelnet_v2().float() and change the input image tensor to dtype=torch.float, the inference actually runs.

BUT, when both the model and image are set to double, it gives a RuntimeError: expected scalar type Float but found Double. After reading this thread, I still don’t see the pattern.

How does one interpret such behaviors?