🌈 搜索
📅  最后修改于: 2022-03-11 14:45:33.524000             🧑  作者: Mango
a = torch.rand(2, 3) b = torch.rand(2,2, 3) print('a:',a) print('b:',b) c = a.expand_as(b) print('c:',c)