Class CumSum
Represents a CumSum math layer that performs the cumulative sum along a given axis.
Inherited Members
Namespace: Unity.Sentis.Layers
Assembly: solution.dll
Syntax
[Serializable]
public class CumSum : Layer
Constructors
| Name | Description |
|---|---|
| CumSum(string, string, string, bool, bool) | Initializes and returns an instance of |
Fields
| Name | Description |
|---|---|
| exclusive | Whether to include the respective input element in the cumulative sum. |
| reverse | Whether to perform the cumulative sum from the end of the axis. |
Methods
| Name | Description |
|---|---|
| Execute(Tensor[], ExecutionContext) | Executes the layer using the operations and variables from the If the layer has more than one output, output tensors are saved to variables. |
| ToString() | Returns a string that represents the |