numpy.argwhere ... 查找按元素分组的非零数组元素的索引。 ... np.argwhere(a) 与几乎相同 np.transpose(np.nonzero(a)) ,但会产生0D数组正确形状的结果。 的输出 argwhere ...
確定! 回上一頁