code: def bind_params_by_name(func, params):
      """Bind params to function by name.
      This could be useful when assembling custom Relay optimization
      passes that involve constant folding.
  
      Parameters
      ----------
      func : relay.Function
          The function to bind parameters to.
  
      params : dict of str to NDArray
          Input parameters to the graph that do not change
          during inference time. Used for constant folding.
  
      Returns
      -------
      func : relay.Function
          The function with parameters bound
      """
      inputs = _convert_param_map(params)
      return _build_module.BindParamsByName(func, inputs)
  
imports: import warnings
  import numpy
  from tvm.ir import IRModule
  from tvm.target import Target
  from ..None import autotvm
  from ..None import nd
  from ..None import register_func
  from ..contrib import graph_executor
  from ..contrib import utils
  from ..runtime import load_module
  from ..runtime.executor import aot_executor
  from ..target import Target
  from .None import _build_module
  from .None import expr
  from .None import function
  from .None import ty
  from .backend import Executor, Runtime
  from .backend import executor_factory
  from .backend import interpreter
  from .backend.utils import mangle_module_name
  from .backend.vm import VMExecutor
  from .transform import InferType
label_desc: Use image node_id 7 for calling a global function with example usage: bind_params_by_name(func, params) and returns: _build_module