code: def test_get_element_shape_dtype():
      catalog = _get_element_shape_dtype([[1], [2, 3], [3], 2])
      catalog = _get_element_shape_dtype([["1"], [2, 3]])
      catalog = _get_element_shape_dtype([["1"], [2, 3]])
      catalog = _get_element_shape_dtype([["1"], ["2", "3"]])
      catalog = _get_element_shape_dtype(
          [np.zeros(3), np.zeros((2, 1))]
      )
  
file_path: fastNLP/tests/core/collators/padders/test_get_padder.py
imports: import pytest
  import numpy
  from fastNLP.core.collators.padders.get_padder import get_padder, InconsistencyError, DtypeError, _get_element_shape_dtype
  from fastNLP.envs.imports import _NEED_IMPORT_TORCH, _NEED_IMPORT_PADDLE, _NEED_IMPORT_JITTOR, _NEED_IMPORT_ONEFLOW
label_desc: Use image node_id 1 for calling a global function with example usage: test_get_element_shape_dtype() without return types