Fix a bug in Toco FuseBinaryIntoFollowingAffine transformation
It incorrectly removes an array even if it has other consumers. `GetOpWithInput` function returns the first op when there are multiple consumer ops. The transformation can be further optimized, but this CL is strictly better than before. PiperOrigin-RevId: 223850263
Loading
Please sign in to comment