code: def size_of_shape(shape):
      size = 1
      for i in shape:
          size *= i
  
      # should not return long in Python 2
      return int(size)
  
file_path: chainer/chainer/utils/array.py
imports: import warnings
  import numpy
  import six
  import chainer
  from chainer.backends import cuda
label_desc: Use image node_id 4 for calling a global function with example usage: size_of_shape(shape) and returns: int