t1 = torch.FloatTensor([[1,2],[5,6]]) ... l.append(t1) >>> l.append(t2) >>> ta = torch.cat(l,dim=0) >>> ta = torch.cat(l,dim=0).reshape(2,2,2)
確定! 回上一頁