ShapeRefiner fix: some variant-type tensors have handle data.
ShapeRefiner::AddNode() would only propagate handle data for DT_RESOURCE tensors, but not DT_VARIANT. The Python shape inference logic in common_shapes.py handled this correct, which is why we didn't notice this earlier. In particular, list ops use DT_VARIANT with handle data. PiperOrigin-RevId: 195739586
Loading
Please sign in to comment