Constructor CumSum
CumSum(string, string, string, bool, bool)
Initializes and returns an instance of CumSum math layer.
Declaration
public CumSum(string name, string input, string axis, bool reverse, bool exclusive)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | The name to use for the output tensor of the layer. |
| string | input | The name to use for the input tensor of the layer. |
| string | axis | The name to use for the axis scalar tensor along which to perform the cumulative sum. |
| bool | reverse | Whether to perform the cumulative sum from the end of the axis. |
| bool | exclusive | Whether to include the respective input element in the cumulative sum. |