← Back to events
ActiveAIRelease

viable/strict/1788472218: Fix TensorList storage sanity-check codegen (#195857)

What happened

The original code constructed a vector with N elements and then pushed N more elements into it. So the vector had 2N total elements of which N were just default constructed nullopts. I suspect that was an oversight and the author meant to reserve storage for N elements. Pull Request resolved: #195857 Approved by: https://github.com/Skylion007

Summary assembled by rule from the sources below

Why it's spreading

Sources