dpctl.tensor.usm_ndarray.ndim¶ usm_ndarray.ndim¶ Gives the number of indices needed to address elements of this array.