class_docstr: Product of array elements over a given axis.
class_docstr_tok: ["Product","of","array","elements","over","a","given","axis","."]
code: def forward(self, x):
      self.retain_inputs((0,))
      xp = backend.get_array_module(*x)
      return (
          xp.asarray(x[0].prod(axis=self.axis, keepdims=self.keepdims)),
      )
  
file_path: chainer/chainer/functions/math/prod.py
imports: import numpy
  import six
  from chainer import backend
  from chainer import function_node
  import chainer.functions
  from chainer.utils import type_check
label_desc: Use image node_id 3 for calling the Prod obj's underlying member method code with example usage: obj.forward(x) and returns: xp