torch.flatten(input, start_dim=0, end_dim=-1) ... 00 而end_dim = 11 时,它把第00 个维度到第11 个维度全部推平合并了。pytorch中的 torch.nn.
確定! 回上一頁