Method nElems
static member nElems: Tensor<'T> -> int64
Total number of elements within the tensor.
Declaration
static member nElems: a:Tensor<'T> -> int64
Parameters
Type | Name | Description |
---|---|---|
Tensor<'T> | a | The tensor to operate on. |
Returns
Type | Description |
---|---|
int64 | Number of elements. |