Commit d0065b7d authored by Bixia Zheng's avatar Bixia Zheng Committed by TensorFlower Gardener
Browse files

[XLA] Fix AlgebraicSimplifier to handle reshape instructions without layouts.

The AlgebraicSimplifier pass is run before layout assignment and may encounter
instructions without layouts. Fix the pass to use a default layout to create
the resulting literal when handling a reshape instruction without a layout.

Add a test case.

PiperOrigin-RevId: 231844361
parent c0e3d0a7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment