http://blog.csdn.net/pipisorry/article/details/48208433 真值测试Truth value testing all(a[, axis, out, keepdims]) Test whether all array elements along a given axis evaluate to True. any(a[, axis, out, keepdims]) Test whether any array element along a gi