How to multiply via broadcasting of two tensors of different shapes

前端 未结 0 1234
暗喜
暗喜 2020-12-03 15:03

I have the following two PyTorch tensors A and B.

A = torch.tensor(np.array([40, 42, 38]), dtype = torch.float64)

tensor([40., 42., 38.], dtype=torch.float64         


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