n-dimnesional array.
Device of the array.
Data type of the array.
Whether it is a temporary view that can become invalid after the call.
Number of dimensions.
Shape of the array.
Copy data from another NDArray or javascript array. The number of elements must match.
The source data array.
this
Copy data from raw bytes.
Uint8Array of bytes.
Dispose the internal resource This function can be called multiple times, only the first call will take effect.
Get dataPtr of NDarray
The handle.
Get handle of ndarray, check it is not null.
require handle is not null.
Return a TypedArray copy of the NDArray, the specific type depends on the dtype of the NDArray.
The result array.
Return a copied Uint8Array of the raw bytes in the NDArray.
Create a view of the array.
The shape of the view.
Optional
The data type of the new array.
The new sliced ndarray.
Generated using TypeDoc
n-dimnesional array.