code: def _find_compute_scope(func):
      result = None
  
      def _visitor(stmt):
          if (
              isinstance(stmt, tir.AttrStmt)
              and stmt.attr_key == "compute_scope"
          ):
              nonlocal result
              result = stmt
  
      tir.stmt_functor.post_order_visit(func.body, _visitor)
  
      return result
  
file_path: tvm/tests/python/tir-transform/test_tir_transform_make_packed_api.py
imports: import pytest
  import tvm
  import tvm.testing
  from tvm import te, tir
  from tvm.script import tir, ir
  from tvm.driver.build_module import schedule_to_module
label_desc: Use image node_id 4 for calling a global function with example usage: _find_compute_scope(func) and returns: result