Make BroadcastIndexesRange efficient if there is no broadcasting (#9298)
It seems to be OK to just check for broadcasting when creating the iterator and then leave a highly-predictable branch inside the loop. Avoids code near-duplication to handle both broadcast and non-broadcast cases.
S
Scott Wolchok committed
89a0bdf060d09e75f8db522e5d5199ba20ed017a
Parent: c4c2aaf
Committed by GitHub <noreply@github.com>
on 3/18/2025, 4:24:46 PM