, axis=None, keepdims=False)[source]

Product of array elements over a given axis.

  • x (Variable or N-dimensional array) – Elements to calculate the product.
  • axis (None, int, or tuple of int) – Axis which a product is performed. The default (axis = None) is perform a product over all the dimensions of the input array.
  • keepdims (bool) – If True, the specified axes are remained as axes of length one.

Output variable.

Return type: