RuntimeError: indices should be either on cpu or on the same device as the indexed tensor (cpu)-CSDN博客https://blog.csdn.net/qq_41204464/article/details/130359266