Extend neutral element optimization to handle
- division:
* 0 / y -> 0 (in aggressive mode only)
* x / 1 -> x
* 1 / y -> Reciprocal(y)
- subtraction:
* x - 0 -> x
- BiasAdd:
* BiasAdd(x, 0) -> x
PiperOrigin-RevId: 178425319
Loading
Please sign in to comment