[Torch] Fix advanced indexing with NoneType index arguments#13826
[Torch] Fix advanced indexing with NoneType index arguments#13826masahi merged 1 commit intoapache:mainfrom
Conversation
28ee65b to
68f98e9
Compare
|
Thanks for taking a look at this @padreofthegame! Will circle back once this PR is ready for review |
|
This solution is very similar to #13306, and represents workaround for the problem mentioned in #12922 for PyTorch models (since advanced indexing does not work the same for example for numpy and for pytorch, I put solution in torch frontend, because issue was reported for torch models). |
|
@padreofthegame i think this fix is fine in terms of the difference between adv_index of numpy and it of pytorch. There is no numpy frontend for TVM yet. I think overall this PR LGTM. Will be great if @masahi can take a look and approve. Thanks! |
Suppose to solve issue #12922.