在pytorch的最新版本0.4版本中,增加了torch.reshape(), 这与numpy.reshape 的功能类似。它大致相当于tensor.contiguous().view()。 【参考】.
確定! 回上一頁