| 281 | } |
| 282 | |
| 283 | string GetOpDescription(const OpInfo& op_info) { |
| 284 | string description = "["; |
| 285 | description += "Op=" + op_info.op() + ", "; |
| 286 | description += "input_shapes=["; |
| 287 | for (auto const& input : op_info.inputs()) { |
| 288 | description += PartialTensorShape::DebugString(input.shape()); |
| 289 | } |
| 290 | description += "]"; |
| 291 | return description; |
| 292 | } |
| 293 | |
| 294 | OpPerformanceList CostGraphToOpPerformanceData(const CostGraphDef& cost_graph, |
| 295 | const GraphDef& graph) { |
no test coverage detected