In the case of inserted beam_idx -> Gather, we keep ShapeOf operations on the original Parameter operations (ReadValue operations after the model becomes stateful). This helps avoid special handling of such ShapeOf operations in runtime (CVS-143648).
Before submitting
[N/A] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[N/A] Did you make sure to update the documentation with your changes?
What does this PR do?
In the case of inserted
beam_idx -> Gather
, we keepShapeOf
operations on the originalParameter
operations (ReadValue
operations after the model becomes stateful). This helps avoid special handling of such ShapeOf operations in runtime (CVS-143648).Before submitting