Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/kernels/
Das_string_op.cc80 strings::Appendf(&format_, "%s", fill_string.c_str()); in AsStringOp()
90 strings::Appendf(&format_, "%d", width); in AsStringOp()
93 strings::Appendf(&format_, ".%d", precision); in AsStringOp()
99 strings::Appendf(&format_, "d"); in AsStringOp()
102 strings::Appendf(&format_, "lld"); in AsStringOp()
109 strings::Appendf(&format_, "g"); in AsStringOp()
111 strings::Appendf(&format_, "e"); in AsStringOp()
113 strings::Appendf(&format_, "f"); in AsStringOp()
/external/tensorflow/tensorflow/core/platform/
Dnumbers.cc458 Appendf(&s, "%lld", static_cast<long long>(value)); in HumanReadableNum()
461 Appendf(&s, "%0.3G", static_cast<double>(value)); in HumanReadableNum()
470 Appendf(&s, "%.2f%c", value / 1000.0, *unit); in HumanReadableNum()
523 strings::Appendf(&human_readable, "%0.3g us", microseconds); in HumanReadableElapsedTime()
532 strings::Appendf(&human_readable, "%0.3g ms", milliseconds); in HumanReadableElapsedTime()
536 strings::Appendf(&human_readable, "%0.3g s", seconds); in HumanReadableElapsedTime()
541 strings::Appendf(&human_readable, "%0.3g min", seconds); in HumanReadableElapsedTime()
546 strings::Appendf(&human_readable, "%0.3g h", seconds); in HumanReadableElapsedTime()
551 strings::Appendf(&human_readable, "%0.3g days", seconds); in HumanReadableElapsedTime()
555 strings::Appendf(&human_readable, "%0.3g months", seconds / 30.436875); in HumanReadableElapsedTime()
[all …]
Dstringprintf_test.cc41 Appendf(&value, "%s", empty); in TEST()
47 Appendf(&value, "%s", ""); in TEST()
53 Appendf(&value, " %s", "World"); in TEST()
59 Appendf(&value, " %d", 123); in TEST()
Dstringprintf.h41 extern void Appendf(std::string* dst, const char* format, ...)
Dstringprintf.cc85 void Appendf(string* dst, const char* format, ...) { in Appendf() function
/external/tensorflow/tensorflow/lite/toco/
Dformat_port.h43 tensorflow::strings::Appendf(destination, fmt, args...); in AppendFHelper()
48 tensorflow::strings::Appendf(destination, "%s", fmt); in AppendFHelper()
/external/tensorflow/tensorflow/core/util/
Dcommand_line_flags.cc293 strings::Appendf(&usage_text, "usage: %s\nFlags:\n", cmdline.c_str()); in Usage()
295 strings::Appendf(&usage_text, "usage: %s\n", cmdline.c_str()); in Usage()
323 strings::Appendf(&usage_text, "\t%-33s\t%s\t%s\n", flag_string.c_str(), in Usage()
/external/tensorflow/tensorflow/security/advisory/
Dtfsa-2020-013.md15 strings::Appendf(&format_, "%s%d", fill_string.c_str(), width);
18 strings::Appendf(&format_, ".%d", precision);
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_util.cc374 strings::Appendf(&ret, "%p:", ptr); in MemoryDebugString()