[MS][GPU][BugFix] 修复heaviside 异常输入导致的core dump #3
Loading…
Reference in New Issue
No description provided.
Delete Branch "p47068915/mindspore:master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What type of PR is this?
/kind bug
What does this PR do / why do we need it:
When the shape of input is empty, the output in GPU will return Segmentation fault while that in CPU will return right result.
Fix it in order to make the output in GPU same as that in CPU.
Which issue(s) this PR fixes:
Fixes #I6PMQN:[CT][MS][Fuzz]heaviside算子异常入参导致报错Segmentation fault
Step 1:
From your project repository, check out a new branch and test the changes.Step 2:
Merge the changes and update on Gitea.