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: from __future__ import print_function
  from __future__ import absolute_import
  from future import standard_library
  from builtins import str
  from builtins import object
  import functools
  import logging
  import os
  import sys
  import time
  import numpy
  from .None import pyll
  from .utils import coarse_utcnow
  from .None import base
label_desc: Use image node_id 3 for calling a global function with example usage: fmin_pass_expr_memo_ctrl(f) and returns: f