Method Sum
Sum(TensorFloat[], 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 override void Sum(TensorFloat[] inputs, TensorFloat O)
Parameters
Type | Name | Description |
---|---|---|
TensorFloat[] | inputs | The input tensors. |
TensorFloat | O | The output tensor to be computed and filled. |