code: def test_run(self):
      padder = TorchNumberPadder(pad_val=-1, ele_dtype=int, dtype=int)
      a = [1, 2, 3]
      t_a = padder(a)
      assert isinstance(t_a, torch.Tensor)
      assert (t_a == torch.LongTensor(a)).sum() == 3
  
file_path: fastNLP/tests/core/collators/padders/test_torch_padder.py
imports: import numpy
  import pytest
  from fastNLP.core.collators.padders.torch_padder import TorchTensorPadder, TorchSequencePadder, TorchNumberPadder
  from fastNLP.core.collators.padders.exceptions import DtypeError
  from fastNLP.envs.imports import _NEED_IMPORT_TORCH
label_desc: Use image node_id 1 for calling the TestTorchNumberPadder obj's underlying member method code with example usage: obj.test_run() without return types