wrongtest commented on code in PR #11287:
URL: https://github.com/apache/tvm/pull/11287#discussion_r880011806
##########
python/tvm/arith/iter_affine_map.py:
##########
@@ -117,14 +117,14 @@ def detect_iter_map(
Returns
-------
- results : List[IterSumExpr]
+ results : IterMapResult
The iter map matching result.
- Empty array if no match can be found.
+ The result's .indices is empty array if no match can be found.
"""
return _ffi_api.DetectIterMap(
indices, input_iters, predicate, require_bijective,
simplify_trivial_iterators
- )
+ ).indices
Review Comment:
I agree, I am trying to rewrite cases in test_arith_iter_affine_map.py
--
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]