differences between two 1-dim tensor

后端 未结 0 754
误落风尘
误落风尘 2021-01-30 01:36

I have two tensors like this:

a = tensor([1,3,4,5]).cuda()
        
b = tensor([0,1,2,3,4,5,6]).cuda()

I want the result tensor to be like this:<

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