Skip to content

Conversation

@HongHongHongL
Copy link
Contributor

When using layouts[0].LeafValue()->layout->name, I got a segment fault when layouts[0].LeafValue()->layout is __undef__. layouts[0].LeafValue()->layout.name() can judge and handle this case.

@Hzfengsy Hzfengsy merged commit 4d99ec5 into apache:main Nov 23, 2024
19 checks passed
ShiboXing pushed a commit to ShiboXing/tvm that referenced this pull request Aug 10, 2025
fix segment fault when get undef layout
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants