How to check whether tensor values in a different tensor pytorch?

后端 未结 0 1001
难免孤独
难免孤独 2021-02-04 05:35

I have 2 tensors of unequal size

a = torch.tensor([[1,2], [2,3],[3,4]])
b = torch.tensor([[4,5],[2,3]])

I want a boolean array of whether each va

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