code: def test_resnet_subgraph():
      before = ResnetStructure
      expected = ResnetStructurePlanned
      after = _plan_and_convert(before)
      tvm.ir.assert_structural_equal(after, expected)
  
imports: import sys
  import pytest
  import tvm
  from tvm import PoolInfoProperties, WorkspacePoolInfo
  from tvm.script import tir, ir
  from tvm.target import Target
  from tvm.tir import stmt_functor
  from tvm.tir.usmp import utils
label_desc: Use image node_id 7 for calling a global function with example usage: test_resnet_subgraph() without return types