[TF:XLA] Make OneHot use Iota instead of a constant tensor
This is simpler code and theoretically faster because it can save a transfer, it doesn't make a difference in practice though because AlgebraicSimplifier turns constants into iota on the HLO side. PiperOrigin-RevId: 218901530
Loading
Please sign in to comment