Lunderberg commented on issue #12852:
URL: https://github.com/apache/tvm/issues/12852#issuecomment-1258024355

   > In general, IndexMap::Inverse doesn’t guarantee to generate the inverse 
map even if the index map is (theoretically) bijective because the underlying 
DetectIterMap can only handle limited cases.
   
   In principle, this should have been handled by the check on the return value 
of `DetectIterMap`.  However, because trivial iterators were removed, the check 
for `DetectIterMap` returning a non-empty vector wasn't sufficient to know that 
all iterators were present.
   
   > Is there any chance we can use it in NonSurjectiveMap?
   
   Possibly, though I think that's unrelated to the current bug.  That said, I 
think its use will come along for free when merging the implementations of 
`Inverse` and `NonSurjectiveInverse`.


-- 
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: commits-unsubscr...@tvm.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to