code: def is_paddle_tensor(dtype):
      """
      判断 dtype 是否为 paddle 的 tensor
  
      :param dtype 数据的 dtype 类型
      """
      if not isclass(dtype) and isinstance(dtype, paddle.dtype):
          return True
  
      return False
  
imports: from inspect import isclass
  import numpy
  from fastNLP.envs.imports import _NEED_IMPORT_PADDLE
  from .padder import Padder
  from .utils import is_number_or_numpy_number, is_number, is_numpy_number_dtype, is_numpy_generic_class, get_padded_numpy_array
  from .exceptions import *
label_desc: Use image node_id 1 for calling a global function with example usage: is_paddle_tensor(dtype) and returns: False, True