numpy.nditer.enable_external_loop

方法

nditer.enable_external_loop()

如果在构造过程中没有使用“external_loop”,但需要这样做,则会修改迭代器,使其行为与指定标志时一样。