Commit 160daedf authored by Michael Kuperstein's avatar Michael Kuperstein Committed by TensorFlower Gardener
Browse files

[XLA] Handle kDynamicSlice and kDynamicUpdateSlice correctly in HloCostAnalysis

kDynamicSlice only needs to reads the part of the operand that is sliced out.
kDynamicUpdateSlice needs to read the update, and write it out to the relevant part of the updated operand, but does not need to read the updated operand at all.

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