找到一个高维矩阵最值(最大值或最小值)的位置

prev = np.unravel_index(np.argmax(y, axis=None), y.shape)
相关文章
相关标签/搜索