dtype=torch.float64) 现在,我想通过使用带有 torch.empty() 参数的 out 覆盖内容来释放此张量的内存。 In [139]: torch.empty((5, 3), out=x) Out[139]: tensor([[1.
確定! 回上一頁