[Grappler] Improve removal of redundant ops in arithmetic optimizer.
1. Remove identity Reshape ops with control inputs. 2. Remove identity BroadcastTo ops. This op is common, as it appears in the gradient of Sum. PiperOrigin-RevId: 318163412 Change-Id: I63954d71c4ed4ff8636bdad651ac7f18d0518fc0
Showing
想要评论请 注册 或 登录