Commit 7f52de1a authored by Asim Shankar's avatar Asim Shankar Committed by TensorFlower Gardener
Browse files

Make Graph::UpdateEdge() be O(e) instead of O(E)

where:
- E = number of edges in the graph
- e = number of edges on the node of interest

e is necessarily <= E and is typically really small
(# of inputs to an operation + control edges)

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