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

Function DumpSubgraphHeader

tensorflow/lite/toco/dump_graphviz.cc:616–621  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

614}
615
616void DumpSubgraphHeader(string* output_file, Node const& node,
617 const string& node_name) {
618 Color color = HashStringToColor(node_name);
619 string label = GetSubgraphLabel(node, node_name);
620 AppendF(output_file, kSubgraphFmt, node_name, color.AsHexString(), label);
621}
622
623void DumpArray(const Model& model, string* output_file,
624 const string& array_id) {

Callers 1

DumpNodeFunction · 0.85

Calls 4

HashStringToColorFunction · 0.85
GetSubgraphLabelFunction · 0.85
AppendFFunction · 0.85
AsHexStringMethod · 0.80

Tested by

no test coverage detected