Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 844 Bytes

CumSumLayer.md

File metadata and controls

44 lines (27 loc) · 844 Bytes

CCumSumLayer Class

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.