Skip to main content
Version: current

Sum

Description

The statistics block sum sums a dataset on either axis 0 or 1.

MxNKxL

Input

The input is MxN.

Output

The output is a sum of data values on either axis 0 or 1. if summed across axis 0 the output is 1xL, or if summed across axis 1 the output is Kx1.

Attributes

AttributeValue
NameSum
Axis0
Add previous sumFalse
Channels1

Name

Name specifies the name of the block.

Axis

Axis specifies the axis of the dataset that should be summed.

Add previous sum

Add previous sum specifies if the block should add the previous summation to the next one.

Channels

Channels specifies the number of input(s)/output(s) the block will have.

Literature