code: def forward(self, inputs, device):
      (x,) = inputs
      y = functions.prod(x, axis=self.axis, keepdims=self.keepdims)
      return (y,)
  
file_path: chainer/tests/chainer_tests/functions_tests/math_tests/test_prod.py
imports: import unittest
  import numpy
  from chainer import functions
  from chainer import testing
label_desc: Use image node_id 3 for calling the TestProd obj's underlying member method code with example usage: obj.forward(inputs, device) and returns: y