Commit 17bf2b33 authored by Russell Power's avatar Russell Power Committed by TensorFlower Gardener
Browse files

Graph construction: skip testing for duplicate edges during source/sink setup.

When fixing up source/sink edges, we are only adding missing edges.  Skip the
test for duplicate edges in this case, which avoids a linear traversal over
sink edges.

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