generate ATen core files with LF. (#14667)
authorShuichi KITAGUCHI <kit@ysnb.net>
Thu, 6 Dec 2018 06:07:45 +0000 (22:07 -0800)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Thu, 6 Dec 2018 06:14:29 +0000 (22:14 -0800)
commitd393dd07445a3a363c1bc0db8682fbe6878d8992
tree938ceaa1c98891294d3cbfd60b8221f7fcb9197d
parent2d60afbc90b8e5993a336b82bbf98e420385837c
generate ATen core files with LF. (#14667)

Summary:
on Windows environment, some ATen core files (Type.h, Tensor.h, TensorMethods.h) are created and it's new line code is CRLF. (maybe enviconment dependant)
therefore, comparing files is failed in generate_outputs()agener917.py and compilation stopped.
this patch generates these files with LF forcibly.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/14667

Differential Revision: D13356170

Pulled By: ezyang

fbshipit-source-id: ef8cc3a6cc8bf3c45b78e9eb3df98cf47c0d33bb
aten/src/ATen/gen.py