dpnp.ndarray.__index__

method

ndarray.__index__()

Convert a zero-dimensional array to a Python int object.