code: def run_pitch(p, input_vec):
      cands = []
      for vec_slice in input_vec.reshape((-1, p.hop_size)):
          a = p(vec_slice)[0]
          cands.append(a)
      return cands
  
imports: import numpy
  import aubio
label_desc: Use image node_id 2 for calling a global function with example usage: run_pitch(p, input_vec) and returns: cands