Commit a4945fc8 authored by Sanjoy Das's avatar Sanjoy Das Committed by TensorFlower Gardener
Browse files

The HLO element type converter must remove side effecting instructions like Rng

The CPU backend does not know how to lower bf16 typed RNG nodes so even unused
instances of these can't remain in the HLO IR.
HloComputation::ReplaceInstruction keeps these Rng nodes around since it doesn't
remove side effecting nodes.
PiperOrigin-RevId: 193575183
parent ab5abfa4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment