code: def total_size(shape):
      return functools.reduce(operator.mul, shape, 1)
  
file_path: chainer/tests/chainerx_tests/array_utils.py
imports: import functools
  import operator
  import numpy
  import chainerx
label_desc: Use image node_id 1 for calling a global function with example usage: total_size(shape) and returns: functools