Swap 2 numpy arrays based on condition from different arrays

后端 未结 0 1810
孤街浪徒
孤街浪徒 2021-01-07 23:50

I have 4 arrays, A,B,C,D. A and B have shape (n,n) and C/D have shape (n,n,m). I am trying to set it up so that when an element of A is greater than B, that array of lengt

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