code: def test_depth_to_space_failure(shape, block, dtype, layout, err_msg):
      """Check Depth To Space error messages."""
      model = _get_model(shape, block, dtype, layout)
      mod = tei.make_ethosn_partition(model)
      tei.test_error(mod, {}, err_msg)
  
file_path: tvm/tests/python/contrib/test_ethosn/test_depth_to_space.py
imports: import pytest
  import numpy
  import tvm
  from tvm import relay
  from tvm.testing import requires_ethosn
  from .None import infrastructure
label_desc: Use image node_id 3 for calling a global function with example usage: test_depth_to_space_failure(shape, block, dtype, layout, err_msg) without return types