返回被视作与给定的tensor相同大小的原tensor。 等效于: self.view(tensor.size()). 具体用法为: a = torch.Tensor(2, 4) b = a.view_as(torch.
確定! 回上一頁