class_docstr: 测试其它函数的测试例
class_docstr_tok: ["\u6d4b\u8bd5\u5176\u5b83\u51fd\u6570\u7684\u6d4b\u8bd5\u4f8b"]
docstr: 这个函数仅调用了 paddle_move_data_to_device ，测试例在 tests/core/utils/test_paddle_utils.py 中
  就不重复测试了
docstr_tok: ["\u8fd9\u4e2a\u51fd\u6570\u4ec5\u8c03\u7528\u4e86","paddle_move_data_to_device","\uff0c\u6d4b\u8bd5\u4f8b\u5728","tests\/core\/utils\/test_paddle_utils.py","\u4e2d","\u5c31\u4e0d\u91cd\u590d\u6d4b\u8bd5\u4e86"]
code: def test_move_data_to_device(self):
      """
      这个函数仅调用了 paddle_move_data_to_device ，测试例在 tests/core/utils/test_paddle_utils.py 中
      就不重复测试了
      """
      self.driver.move_data_to_device(paddle.rand((32, 64)))
  
imports: import pytest
  from pathlib import Path
  from fastNLP.core.drivers.paddle_driver.single_device import PaddleSingleDriver
  from fastNLP.core.samplers import ReproduceBatchSampler, RandomSampler
  from tests.helpers.models.paddle_model import PaddleNormalModel_Classification_1
  from tests.helpers.datasets.paddle_data import PaddleNormalDataset, PaddleNormalXYDataset
  from tests.helpers.datasets.torch_data import TorchNormalDataset
  from tests.helpers.models.torch_model import TorchNormalModel_Classification_1
  from fastNLP.envs.distributed import rank_zero_rm
  from fastNLP.envs.imports import _NEED_IMPORT_PADDLE, _NEED_IMPORT_TORCH
  from fastNLP import prepare_paddle_dataloader, BucketedBatchSampler
label_desc: Use image node_id 4 for calling the TestSingleDeviceFunction obj's underlying member method code with example usage: obj.test_move_data_to_device() without return types