| 452 | } |
| 453 | |
| 454 | static void EstimateComputationCosts(const Graph& g, CostModel* cost_model) { |
| 455 | for (Node* n : g.nodes()) { |
| 456 | if (!n->IsOp()) continue; |
| 457 | cost_model->RecordTime(n, TimeEstimateForNode(cost_model, n)); |
| 458 | } |
| 459 | } |
| 460 | |
| 461 | } // namespace |
| 462 |
no test coverage detected