code: def test_tir_schedule_get_block():
      # Tests:
      # - Schedule.get_block
      # - Schedule.get_sref
      # - Schedule.get
      sch = tir.Schedule(matmul, debug_mask="all")
      block_rv = sch.get_block(name="update")
      block_sref = sch.get_sref(block_rv)
      block = sch.get(block_rv)
      assert block.name_hint == "update"
      assert block_sref.stmt.same_as(block)
      assert sch.state.get_sref(block).same_as(block_sref)
      assert block.same_as(
          matmul.body.block.body.body.body[1].body.block
      )
  
imports: import sys
  import pytest
  import tvm
  import tvm.testing
  from tvm import tir
  from tvm.ir import IRModule
  from tvm.script import tir
  from tvm.tir.schedule.testing import assert_structural_equal_ignore_global_symbol, verify_trace_roundtrip
label_desc: Use image node_id 7 for calling a global function with example usage: test_tir_schedule_get_block() without return types