Home
last modified time | relevance | path

Searched refs:StringF (Results 1 – 9 of 9) sorted by relevance

/external/tensorflow/tensorflow/lite/toco/
Ddump_graphviz.cc35 using toco::port::StringF;
81 return StringF("#%.2X%.2X%.2X", r_, g_, b_); in AsHexString()
94 return StringF("#%.2X%.2X%.2X", l, l, l); in TextColorString()
333 StringF("[%.7g, %.7g]", array.minmax->min, array.minmax->max); in GetArrayLabel()
336 attrs["quant"] = StringF("%7g\u00B7(x-%d)", // Unicode "cdot" in GetArrayLabel()
341 attrs["alloc"] = StringF("[%d, %d)", array.alloc->start, array.alloc->end); in GetArrayLabel()
399 attrs["bits"] = StringF("%d", fakequant_op.num_bits); in GetOpAttributes()
401 attrs["range"] = StringF("[%g,%g]", fakequant_op.minmax->min, in GetOpAttributes()
517 std::string GetOpId(int op_index) { return StringF("op%05d", op_index); } in GetOpId()
734 attrs["arrays"] = StringF("%d", model.GetArrayMap().size()); in GetGraphLabel()
[all …]
Dformat_port.h62 inline std::string StringF(const char* fmt, Args&&... args) { in StringF() function
Dtooling_util.cc59 return toco::port::StringF("{%s operator}", opname); in LogName()
61 return toco::port::StringF("{%s operator with output %s}", opname, in LogName()
466 return toco::port::StringF( in HelpfulOperatorTypeName()
575 toco::port::StringF("VIDEO frame:%05d", dump_id)); in DumpGraphvizVideoFrame()
583 toco::port::StringF("toco_video_%05d.dot", dump_id)), in DumpGraphvizVideoFrame()
1835 toco::port::StringF("%s_%d", sanitized_name, i); in AvailableArrayName()
2043 return toco::port::StringF("%d ", x); in FormattedNumber()
2045 return toco::port::StringF("%.3f M", static_cast<double>(x) / million); in FormattedNumber()
2047 return toco::port::StringF("%.3f G", static_cast<double>(x) / billion); in FormattedNumber()
Dimport_tensorflow.cc2257 using toco::port::StringF; in AddExtraOutputs()
2259 StringF("%s:%d", split[0], producer_op->outputs.size())); in AddExtraOutputs()
/external/tensorflow/tensorflow/lite/toco/graph_transformations/
Dgraph_transformations.cc196 PrintModelStats(toco::port::StringF("Before %s", msg), *model); in RunGraphTransformationsWithStatus()
203 toco::port::StringF("After %s pass %d", msg, pass_index); in RunGraphTransformationsWithStatus()
Dgraph_transformations.h44 return messages_.push_back(toco::port::StringF(format, args...)); in AddMessageF()
/external/llvm-project/llvm/lib/IR/
DAsmWriter.cpp1795 auto StringF = DINode::getFlagString(F); in printDIFlags() local
1796 assert(!StringF.empty() && "Expected valid flag"); in printDIFlags()
1797 Out << FlagsFS << StringF; in printDIFlags()
1819 auto StringF = DISubprogram::getFlagString(F); in printDISPFlags() local
1820 assert(!StringF.empty() && "Expected valid flag"); in printDISPFlags()
1821 Out << FlagsFS << StringF; in printDISPFlags()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DAsmWriter.cpp1710 auto StringF = DINode::getFlagString(F); in printDIFlags() local
1711 assert(!StringF.empty() && "Expected valid flag"); in printDIFlags()
1712 Out << FlagsFS << StringF; in printDIFlags()
1734 auto StringF = DISubprogram::getFlagString(F); in printDISPFlags() local
1735 assert(!StringF.empty() && "Expected valid flag"); in printDISPFlags()
1736 Out << FlagsFS << StringF; in printDISPFlags()
/external/llvm/lib/IR/
DAsmWriter.cpp1521 const char *StringF = DINode::getFlagString(F); in printDIFlags() local
1522 assert(StringF && "Expected valid flag"); in printDIFlags()
1523 Out << FlagsFS << StringF; in printDIFlags()