code: def CreateFunctionMetadata(
      mod: IRModule,
      workspace_byte_alignment: int,
      constant_byte_alignment: int,
  ) -> Dict[str, object]:
      """Create the function metadata (FunctionInfos) from an AOT module.
  
      Parameters
      ----------
      mod : IRModule
          The IRModule.
      workspace_byte_alignment : int
          The alignment of the workspace buffer in bytes.
      constant_byte_alignment : int
          The alignment of the constant buffer in bytes.
  
      Returns
      -------
      Dict[str, FunctionInfo]
          A map between function names and FunctionInfos.
  
      """
      return _aot.CreateFunctionMetadata(
          mod, workspace_byte_alignment, constant_byte_alignment
      )
  
file_path: tvm/python/tvm/relay/backend/aot.py
imports: from typing import Dict
  from tvm import IRModule
  from tvm.relay.backend import Executor
  from tvm.ir.transform import Pass
  from .utils import CallType
  from .None import _aot
label_desc: Use image node_id 2 for calling a global function with example usage: CreateFunctionMetadata(mod, workspace_byte_alignment, constant_byte_alignment) and returns: _aot