code: def doit(num, samples=None):
      s = sample.UniformSampleAccumulator(min_samples=samples)
      for n in range(num):
          s.add(n)
      return s.get()
  
imports: import wandb
label_desc: Use image node_id 1 for calling a global function with example usage: doit(num, samples) and returns: s