dpctl.tensor.usm_ndarray.size

usm_ndarray.size

Number of elements in the array.