After tensor.half() called, the tensor’s dtype is not casted to half.
I found some docs as below:
" If the self Tensor already has the correct [ torch.dtype ] and [ torch.device ], then self is returned. Otherwise, the returned tensor is a copy of self with the desired [ torch.dtype ] and [ torch.device ]."
So, what does the “correct [ torch.dtype ] and [ torch.device ]” real mean?