code: def _check_correct(schedule: Schedule):
      trace = schedule.trace
      for inst in trace.decisions:
          assert math.prod(trace.decisions[inst]) == 1024
  
file_path: tvm/tests/python/meta_schedule/test_meta_schedule_space_generator.py
imports: import math
  import pytest
  import tvm
  import tvm.testing
  from tvm._ffi.base import TVMError
  from tvm.meta_schedule.space_generator import PySpaceGenerator, ScheduleFn, SpaceGeneratorUnion
  from tvm.meta_schedule.tune_context import TuneContext
  from tvm.meta_schedule.utils import derived_object
  from tvm.script import tir
  from tvm.tir.schedule import Schedule
label_desc: Use image node_id 2 for calling a global function with example usage: _check_correct(schedule) without return types