Equality of structures containing numpy arrays

后端 未结 0 1441
走了就别回头了
走了就别回头了 2021-02-14 16:02

It\'s well-known that == on numpy arrays returns an array rather than a bool, but this is very inconvenient at times.

>>> [np.zeros(4)] == [         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题