Python wrappers
Public Python APIs implemented by this engine symbol.Inclusive cumulative product along a single axis, .
The output has the same shape and dtype as the input. Backward reuses the reverse-cumsum primitive against the saved cumprod output and divides by the saved input: .
Math
Parameters
aTensorImplPtrInput tensor of any non-scalar shape and real dtype.
axisintAxis along which to accumulate (negative wraps).
Returns
TensorImplPtrOutput tensor of the same shape and dtype as a.
Notes
Backward is undefined where because the formula divides by . Forward saves both and on the backward node.