Method sumTensor
static member sumTensor: Tensor<'T> -> Tensor<'T>
Sums all elements returning a Tensor.
Declaration
static member sumTensor: src:Tensor<'T> -> Tensor<'T>
Parameters
Type | Name | Description |
---|---|---|
Tensor<'T> | src | The tensor containing the source values. |
Returns
Type | Description |
---|---|
Tensor<'T> | A new scalar tensor containing the result of this operation. |