Repeat matrix operation for several batches without using for loop

后端 未结 0 1657
忘了有多久
忘了有多久 2020-11-30 00:57

I tried this operation for one batch and worked.

x = torch.FloatTensor([[ax,bx],[cx,dx],[ex,fx],[gx,hx]])
y = torch.FloatTensor([[ay,by],[cy,dy],[ey,fy],[gy,h         


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