code: def mean(v):
      s = np.sum(v)
      m = s / len(v)
      if not s == s or len(v) == 0:
          m = float(0.0)
      return m
  
file_path: nevergrad/docs/instrumentations_examples.py
imports: import numpy
  import sys
  from joblib import Parallel, delayed
  from collections import defaultdict
  import nevergrad
  import signal
label_desc: Use image node_id 1 for calling a global function with example usage: mean(v) and returns: m