The input tensor to be summed.
Optional
axis: numberThe axis along which to sum. Optional. Defaults to 0.
Optional
exclusive: booleanWhether to perform exclusive cumulative sum. Optional. Defaults to false. If set to true then the sum of each tensor entry does not include its own value, but only the values previous to it along the specified axis.
Optional
reverse: booleanWhether to sum in the opposite direction. Optional. Defaults to false.
Generated using TypeDoc
Computes the cumulative sum of a
tf.Tensor
alongaxis
.