reshape () calls view() internally if the data is stored contiguously, if not, it returns a copy. The difference here isn't too important for basic tensors, but ...
確定! 回上一頁