code: def extract_buffer_info(main_func: PrimFunc, mod: IRModule):
      """Convert Parallel For Loop to Serial.
  
      Parameters
      ----------
      main_func: tvm.tir.PrimFunc
          The main function containing calls to operator PrimFuncs.
      mod : tvm.ir.IRModule
          The full IRModule containing all PrimFuncs
  
      Returns
      -------
      Map<tir::Stmt, BufferInfo>
          extracted buffer info objects
      """
      return _ffi_api.extract_buffer_info(main_func, mod)
  
imports: from .None import _ffi_api
  from ...function import PrimFunc
  from ....ir.module import IRModule
label_desc: Use image node_id 1 for calling a global function with example usage: extract_buffer_info(main_func, mod) and returns: _ffi_api