MCPcopy Create free account
hub / github.com/DeepRec-AI/DeepRec / GetOpDescription

Function GetOpDescription

tensorflow/core/grappler/costs/utils.cc:283–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

281}
282
283string 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
294OpPerformanceList CostGraphToOpPerformanceData(const CostGraphDef& cost_graph,
295 const GraphDef& graph) {

Callers 1

MarkCurrNodeExecutedMethod · 0.85

Calls 4

DebugStringFunction · 0.50
opMethod · 0.45
inputsMethod · 0.45
shapeMethod · 0.45

Tested by

no test coverage detected