Method Sum
Sum(params TensorFloat[])
Performs an element-wise Sum
math operation: f(x1, x2 ... xn) = x1 + x2 ... xn.
This supports numpy-style broadcasting of input tensors.
Declaration
public TensorFloat Sum(params TensorFloat[] tensors)
Parameters
Type | Name | Description |
---|---|---|
TensorFloat[] | tensors | The input tensors. |
Returns
Type | Description |
---|---|
TensorFloat | The computed output tensor. |