cupy.prod¶
-
cupy.
prod
= <cupy.core.fusion.reduction object>¶ Returns the product of an array along given axes.
Parameters: - a (cupy.ndarray) – Array to take product.
- axis (int or sequence of ints) – Axes along which the product is taken.
- dtype – Data type specifier.
- out (cupy.ndarray) – Output array.
- keepdims (bool) – If
True
, the specified axes are remained as axes of length one.
Returns: The result array.
Return type: See also