The great majority of PyTorch's operators are supposed to work with both contiguous and noncontiguous tensors, and valid noncontiguous inputs can be generated from an operator's sample inputs. Doing so would increase test coverage and prevent developers having to worry about writing contiguous AND noncontiguous sample inputs.
When doing this we should consider the impact on test time.
cc @mruberry @VitalyFedyunin @walterddr
The great majority of PyTorch's operators are supposed to work with both contiguous and noncontiguous tensors, and valid noncontiguous inputs can be generated from an operator's sample inputs. Doing so would increase test coverage and prevent developers having to worry about writing contiguous AND noncontiguous sample inputs.
When doing this we should consider the impact on test time.
cc @mruberry @VitalyFedyunin @walterddr