🌈 搜索
📅  最后修改于: 2022-03-11 14:58:15.990000             🧑  作者: Mango
>>> a = numpy.random.random((10, 10)) >>> numpy.unravel_index(a.argmax(), a.shape) (6, 7) >>> a[6, 7] == a.max() True