2D times 2D equals a 3d pytorch tensor

前端 未结 0 777
耶瑟儿~
耶瑟儿~ 2021-01-19 08:12

Given two 2-D pytorch tensors:

A=torch.FloatTensor([[1,2],[3,4]]) B=torch.FloatTensor([[0,0],[1,1],[2,2])

Is there any efficient way to calculate a tensor (2,2

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