Method nElems
val nElems: ITensor -> int64
Total number of elements within the tensor.
Declaration
val nElems: a:ITensor -> int64
Parameters
| Type | Name | Description |
|---|---|---|
| ITensor | a | The tensor to operate on. |
Returns
| Type | Description |
|---|---|
| int64 | Number of elements. |