code: def enter_layout_rewrite():
      """Enter layout rewrite tracing environment"""
      env = TracingEnvironment(TracingMode.PREPARE_LAYOUT_REWRITE)
      env.__enter__()
  
imports: import json
  import logging
  import threading
  import traceback
  import tvm
  from tvm import autotvm, transform
  from tvm._ffi.base import TVMError
  from tvm.ir.transform import PassContext
  from tvm.runtime import convert_to_object
  from tvm.target import Target
  from tvm.te.tensor import ComputeOp, PlaceholderOp, Tensor
  from tvm.tir import Reduce
  from tvm.tir import expr
  from .None import _ffi_api
  from .compute_dag import ComputeDAG, LayoutRewriteOption
  from .dispatcher import DispatchContext
  from .search_task import SearchTask
  from .utils import get_const_tuple
  from .workload_registry import register_workload_tensors
label_desc: Use image node_id 3 for calling a global function with example usage: enter_layout_rewrite() without return types