Home
last modified time | relevance | path

Searched refs:op_cost (Results 1 – 3 of 3) sorted by relevance

/external/tensorflow/tensorflow/core/grappler/costs/
Dvirtual_scheduler.cc696 std::map<string, Costs>* op_cost) { in FindOrCreateZero() argument
697 auto it = op_cost->find(op_name); in FindOrCreateZero()
698 if (it == op_cost->end()) { in FindOrCreateZero()
701 it = op_cost->emplace(op_name, Costs::ZeroCosts()).first; in FindOrCreateZero()
760 auto& op_cost = FindOrCreateZero(op_name, &op_to_cost_); in MarkCurrNodeExecuted() local
761 op_cost = CombineCosts(op_cost, total_node_costs); in MarkCurrNodeExecuted()
Dop_level_cost_estimator.cc470 int op_cost = 1; in PredictCwiseOp() local
474 op_cost = it->second; in PredictCwiseOp()
480 Costs costs = PredictOpCountBasedCost(op_count * op_cost, op_info); in PredictCwiseOp()
1387 auto op_cost = PredictCosts(fused_op); in PredictFusedOp() local
1389 fused_cost.compute_time += op_cost.compute_time; in PredictFusedOp()
1390 fused_cost.inaccurate |= op_cost.inaccurate; in PredictFusedOp()
1391 fused_cost.intermediate_memory_time += op_cost.intermediate_memory_time; in PredictFusedOp()
Dvirtual_scheduler.h323 std::map<string, Costs>* op_cost);