[GitHub] [tvm] Lunderberg commented on pull request #12949: [TIR] Use IndexMap to transform NDArray

2022-10-05 Thread GitBox
Lunderberg commented on PR #12949: URL: https://github.com/apache/tvm/pull/12949#issuecomment-1265673499 Good points. I'd been thinking in terms of a small number of discontiguous breaks between largely contiguous regions, but that probably would be rather rare. Agreed that it isn't worth

[GitHub] [tvm] Lunderberg commented on pull request #12949: [TIR] Use IndexMap to transform NDArray

2022-09-30 Thread GitBox
Lunderberg commented on PR #12949: URL: https://github.com/apache/tvm/pull/12949#issuecomment-1264013889 Rats. I figured it was worth a shot. Two additional questions coming to mind: 1. Would it work to construct a `DLTensor` of shape `[1]`, then iterate over `DLTensor::byte_offset