Back to NDArray Operations
size
Shape of the array. With dim, returns the size along that axis.
Syntax
size(a: NDArray) → r
Backends
TypeScriptnumwa
Description
Shape of the array. With dim, returns the size along that axis.
Parameters
| Name | Description |
|---|---|
| a | Input array |
Returns
Tuple of dimension sizes, or a single Int64 when dim is given