See this comment: https://github.com/pytorch/pytorch/pull/16649#discussion_r256702818
See this comment: #16649 (comment)