MLXBackend.size#

MLXBackend.size(arr)#

Compute the number of elements of arr.

Parameters:
arrBackendArray

Input data.

Returns:
int

Number of elements in arr.