I find that it does not have the member is_cuda like Tensor.
is_cuda
This question is not important now.