code: def fmin_pass_expr_memo_ctrl(f):
      """
      Mark a function as expecting kwargs 'expr', 'memo' and 'ctrl' from
      hyperopt.fmin.
  
      expr - the pyll expression of the search space
      memo - a partially-filled memo dictionary such that
             `rec_eval(expr, memo=memo)` will build the proposed trial point.
      ctrl - the Experiment control object (see base.Ctrl)
  
      """
      f.fmin_pass_expr_memo_ctrl = True
      return f
  
imports: import functools
  import inspect
  import logging
  import os
  import sys
  import time
  from timeit import default_timer
  import numpy
  from hyperopt import tpe, exceptions
  from hyperopt.base import validate_timeout, validate_loss_threshold
  from .None import pyll
  from .utils import coarse_utcnow
  from .None import base
  from .None import progress
label_desc: Use image node_id 3 for calling a global function with example usage: fmin_pass_expr_memo_ctrl(f) and returns: f