[Grappler] Remove reshapes whose source shape and destination shape are equal.
Also makes ArithmeticOptimizer::Optimize run shape inference at the beginning, and clear _output_shapes at the end. PiperOrigin-RevId: 172133948
Loading
Please sign in to comment