Linear(10, 5).float().cuda(1) i1 = Variable(torch.randn(2, 10).float().cuda(0)) i2 ... def _test_preserve_sharing(self): def do_test(): x = torch.randn(5, ...
確定! 回上一頁