Lunderberg commented on PR #16721: URL: https://github.com/apache/tvm/pull/16721#issuecomment-2020500989
> We may want to revisit the default inferred PrimStructInfo for some of these calls in the future, namely if we handle offsets/strides more systematically later, though the approach here is correct for the present. Sounds like a plan. I think the biggest use of `strides` would be in exposing a view of a tensor to a compute kernel, without requiring the entire tensor to be exposed. (e.g. Improved `R.split` legalization) That said, there's enough kernels that assume contiguous tensors, as are currently provided by Relax, that for now I'd want to keep that requirement. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
