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

Function AttributesToHtml

tensorflow/lite/toco/dump_graphviz.cc:236–246  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234typedef std::map<string, string> Attributes;
235
236string AttributesToHtml(Attributes attributes) {
237 string html;
238 for (const auto& attr : attributes) {
239 html += R"CODE(<TR><TD CELLPADDING="1" ALIGN="RIGHT">)CODE";
240 html += attr.first;
241 html += R"CODE(:</TD><TD CELLPADDING="1" ALIGN="LEFT">)CODE";
242 html += attr.second;
243 html += "</TD></TR>";
244 }
245 return html;
246}
247
248string GetArrayLabel(const Model& model, const string& array_id) {
249 string html;

Callers 4

GetArrayLabelFunction · 0.85
GetOpLabelFunction · 0.85
GetSubgraphLabelFunction · 0.85
GetGraphLabelFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected