pytorch
ddeeb561 - Revoking mutually exclusive requirement on channels last and contiguous tensor (#28466)

Commit
5 years ago
Revoking mutually exclusive requirement on channels last and contiguous tensor (#28466) Summary: The old implementation assumed `is_channels_last_contiguous_` to be mutually exclusive to `is_contiguous_`, which is not true. Properly set the flag by checking strides. Original Pull Request resolved: https://github.com/pytorch/pytorch/pull/24113 Original GitHub Author: jjsjann123 <jiej@nvidia.com> Pull Request resolved: https://github.com/pytorch/pytorch/pull/28466 Differential Revision: D16860715 Pulled By: VitalyFedyunin fbshipit-source-id: facd19d3501b6566d77c46199567e0cd051a6b49
Parents
Loading