Id of the bucket holding the data for this ndarray. Multiple arrays can point to the same bucket (e.g. when calling array.reshape()).
The data type for the array.
Unique id of this ndarray.
The rank type for the array ('0','1','2','3','4','higher').
The shape of the ndarray.
Number of elements in the ndarray.
Number of elements to skip in each dimension when indexing. See https://docs.scipy.org/doc/numpy/reference/generated /numpy.ndarray.strides.html
Assign a new array to this variable. The old array will be disposed.
Asynchronously downloads the values from the NDArray. Returns a promise that resolves when the data is ready.
Synchronously downloads the values from the NDArray. This blocks the UI thread until the values are ready, which can cause performance issues.
Flatten a NDArray to a 1D array.
Reshapes the current ndarray into the provided shape.
Creates a ndarray with the same values/shape as the specified ndarray.
Creates a ndarray of ones with the same shape as the specified ndarray.
Creates a new variable with the provided initial value.
If true, optimizers are allowed to update it.
Name of the variable. Defaults to a unique id.
If set, initialValue will be converted to the given type.
Creates a ndarray of zeros with the same shape as the specified ndarray.
Generated using TypeDoc