Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed layout infer bug when some op is not in op_vector_ #676

Merged
merged 1 commit into from
Jan 11, 2024

Conversation

chenfeiyue-cfy
Copy link
Contributor

Backgroud: instance_norm models run crash after latest lay out code refine

Reason: The refactored code treats the ops that not in the initial op vector as out of bounds access

Solution: Refactored normalize_fusion code to ensure no op is deleted wrongly in op_vector_

Type: Bug Fix
Issue: 37449

Backgroud: instance_norm models run crash after latest lay out code
refine

Reason: erase() function will delete the last element if the param is vector.end()

Solution: Check iterator validtion before erase.

Type:  Bug Fix
Issue: 37449
Signed-off-by: Feiyue Chen <[email protected]>
@sunshinemyson sunshinemyson merged commit 0d8ca44 into VeriSilicon:main Jan 11, 2024
32 checks passed
@chenfeiyue-cfy chenfeiyue-cfy deleted the bug37449 branch April 1, 2024 07:45
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.

2 participants