CCumSumLayer Class

July 28, 2022 ยท View on GitHub

This class implements a layer that performs cumulative sum along the given dimension.

Settings

Dimension

void SetDimension(TBlobDim newDim);

Sets the dimension along which the cumulative sum should be calculated.

Reverse

void SetReverse(bool newReverse);

If set to true then cumulative sum will be calculated in reverse order.

Trainable parameters

This layer has no trainable parameters.

Inputs

The single input accepts a blob of any size and data type.

Outputs

The single output contains a blob of the same size and data type.