Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Cherry-pick]Fix SegFault bug in shape inference (#5995)
### Description Cherry-Pick #5990 into `rel-1.16.0` branch The bug is SegFault during shape inference if the schema not be set inference function. The schema has `CheckInputOutputType` for shape inference and `Verify` for raw node proto. And the behavior is not fully aligned. ### Motivation and Context fixes #5989 Signed-off-by: opluss <opluss@qq.com> Signed-off-by: Justin Chu <justinchuby@users.noreply.github.com> Co-authored-by: oPluss <opluss@qq.com> Co-authored-by: Justin Chu <justinchuby@users.noreply.github.com>
- Loading branch information
1 parent
e6ff7b9
commit c867683
Showing
2 changed files
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters