[Grappler] RemoveIdentityTranspose also removes conjugate #27500
Labels
comp:grappler
Grappler related issues
stale
This label marks the issue/pr stale - to be closed automatically if no activity
stat:awaiting response
Status - Awaiting response from author
stat:awaiting tensorflower
Status - Awaiting response from tensorflower
type:bug
Bug
During graph optimization,
RemoveIdentityTranspose
also removes a transpose if it conjugates the input (see here)Simple example:
Output:
This can happen when using einsum/tensordot and a probably related issue is #19771
A possible fix would be to also check for
IsConjugateTranspose
hereThe text was updated successfully, but these errors were encountered: