You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
Redmept1on
changed the title
When there is a negative number in index, 'mindspore.ops.index_select' should throw an error message
[Bug] When there is a negative number in index, 'mindspore.ops.index_select' should throw an error message
Apr 10, 2024
did you test the case on cpu?
we test the case on gpu, it reports the same info as torch
but the cpu gave [[7,8,9]], we will fix it in the next version
Environment
Hardware Environment(
Ascend
/GPU
/CPU
):device gpu
Software Environment:
Describe the current behavior
[[7. 8. 9.]]
Describe the expected behavior
IndexError: index out of range in self
Steps to reproduce the issue
#pytorch v2.0.0+cu117
Special notes for this issue
The index parameter lacks a range check
The text was updated successfully, but these errors were encountered: