code: def test_pool_invalid_tiled_layout():
      with pytest.raises(TVMError, match="Unsupported layout NCHWD4d"):
          A_3d = te.placeholder([1, 16, 32, 32, 32], name="A")
          B = topi.nn.pool3d(
              A_3d,
              kernel=[2, 2, 2],
              stride=[2, 2, 2],
              dilation=[1, 1, 1],
              padding=[0, 0, 0, 0, 0, 0],
              pool_type="avg",
              ceil_mode=False,
              count_include_pad=True,
              layout="NCHWD4d",
          )
  
      with pytest.raises(TVMError, match="Unsupported layout NCHW4h4w"):
          A_2d = te.placeholder([1, 16, 32, 32], name="A")
          B = topi.nn.pool2d(
              A_2d,
              kernel=[2, 2],
              stride=[2, 2],
              dilation=[1, 1],
              padding=[0, 0, 0, 0],
              pool_type="avg",
              ceil_mode=False,
              count_include_pad=True,
              layout="NCHW4h4w",
          )
  
      with pytest.raises(TVMError, match="Unsupported layout NCW4w"):
          A_1d = te.placeholder([1, 16, 32], name="A")
          B = topi.nn.pool1d(
              A_1d,
              kernel=[2],
              stride=[2],
              dilation=[1],
              padding=[0, 0],
              pool_type="avg",
              ceil_mode=False,
              count_include_pad=True,
              layout="NCW4w",
          )
  
imports: import math
  import pytest
  import numpy
  import tvm
  import tvm.testing
  import tvm.topi.testing
  from tvm import te, topi, TVMError
  from tvm.topi.utils import get_const_tuple
label_desc: Use image node_id 14 for calling a global function with example usage: test_pool_invalid_tiled_layout() without return types