onnxruntime
51b5651c - Write parameters based on output shapes not the amount of names (#26092)

Commit
191 days ago
Write parameters based on output shapes not the amount of names (#26092) Running into a case where the amount of names being larger than inputs from the MIGraphX program causes us to go out of bounds and try to index outputs that don't exist. This leads to undefined/broken behavior (faults) ### Description <!-- Describe your changes. --> This fixes an out of bounds condition that occurs when output_names() errornoursly is used to bind size of the amount of inputs used for setting parameters in MIGraphX EP ### Motivation and Context <!-- - Why is this change required? What problem does it solve? - If it fixes an open issue, please link to the issue here. --> Seeing this in some cases for user data
Committer
sumikuma
Parents
Loading