tf.cumprod(x, axis=0, exclusive=False, reverse=False, name=None)
Compute the cumulative product of the tensor x along axis.
By default, this op performs an inclusive cumprod, which means that the first element of the input is identical to the first element of the output: prettyprint
tf.cumprod([a, b, c]) ==> [a, a * b, a * b * c]
By setting the exclusive kwarg to True, an exclusive cumprod is performed instead: prettyprint
tf.cumprod([a, b, c], exclusive=True) ==> [0, a, a * b]
By settin