code: def _accumulate(values):
      return list(itertools.accumulate(values))
  
file_path: mars/mars/tensor/merge/block.py
imports: import functools
  import itertools
  import operator
  import numpy
  from ..datasource.empty import empty
  from ..datasource.array import array
label_desc: Use image node_id 4 for calling a global function with example usage: _accumulate(values) and returns: list