code: def median_f0(controls, start, stop):
      f0_hz = controls["f0_hz"]
      return np.median(f0_hz[start:stop])
  
file_path: ddsp/ddsp/training/heuristics.py
imports: import ddsp
  import gin
  import note_seq
  import numpy
  import tensorflow.compat.v2
label_desc: Use image node_id 7 for calling a global function with example usage: median_f0(controls, start, stop) and returns: np