code: def CreateExecutorMetadata(
      mod: IRModule,
      mod_name: str,
      executor: Executor,
      workspace_byte_alignment: int,
      constant_byte_alignment: int,
  ) -> object:
      """Create the executor metadata from an AOT module.
  
      Parameters
      ----------
      mod : IRModule
          The IRModule.
      mod_name : str
          The name of the module.
      executor : Executor
          The executor configuration.
      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
      -------
      ExecutorCodegenMetadata
          The executor metadata.
  
      """
      return _aot.CreateExecutorMetadata(
          mod,
          mod_name,
          executor,
          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 3 for calling a global function with example usage: CreateExecutorMetadata(mod, mod_name, executor, workspace_byte_alignment, constant_byte_alignment) and returns: _aot