Given a tensor of multiple dimensions, how do I flatten it so that it has a single dimension?Eg:>>> t = torch.rand([2, 3, 5])>>> t.shapetorch.
確定! 回上一頁