code: def test_nested_pattern_match():
      x = relay.Var("x", rlist(nat()))
      h1 = relay.Var("h1")
      h2 = relay.Var("h2")
      t = relay.Var("t")
      match = relay.Match(
          x,
          [
              relay.Clause(
                  relay.PatternConstructor(
                      cons,
                      [
                          relay.PatternVar(h1),
                          relay.PatternConstructor(
                              cons,
                              [
                                  relay.PatternVar(h2),
                                  relay.PatternVar(t),
                              ],
                          ),
                      ],
                  ),
                  h2,
              ),
              relay.Clause(relay.PatternWildcard(), z()),
          ],
      )
      get_second = relay.Function([x], match)
  
      res = eval(get_second(cons(s(z()), cons(s(s(z())), nil()))))
  
      assert count(res) == 2
  
imports: import pytest
  import tvm
  from tvm import relay
  from tvm.relay import testing
  from tvm.relay.backend.interpreter import ConstructorValue
  from tvm.relay import create_executor
  from tvm.relay.prelude import Prelude, StaticTensorArrayOps
  from tvm.relay.testing import count, make_nat_value, make_nat_expr
  import numpy
label_desc: Use image node_id 36 for calling a global function with example usage: test_nested_pattern_match() without return types