code: def sample_from(func: Callable) -> Callable:
      """
      Sample from a function.
  
      :param func: The function to be sampled.
      """
      return tune.sample_from(func)
  
file_path: BigDL/python/orca/src/bigdl/orca/automl/hp.py
imports: import ray.tune
  import numpy
  from typing import List, Union, Callable
label_desc: Use image node_id 11 for calling a global function with example usage: sample_from(func) and returns: tune