Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/profiler/rpc/client/
Dtrace_events_to_json.cc28 using ::tensorflow::strings::Appendf;
45 Appendf(json, in AddResourceMetadata()
50 Appendf(json, "}},"); in AddResourceMetadata()
52 Appendf(json, in AddResourceMetadata()
65 Appendf(json, in AddDeviceMetadata()
72 Appendf(json, in AddDeviceMetadata()
86 Appendf(json, R"({"pid":%u,"tid":%u,"ts":%.5f,)", event.device_id(), in AddTraceEvent()
91 Appendf(json, R"("ph":"X","dur":%.5f},)", in AddTraceEvent()
102 Appendf( in TraceEventsToJson()
104 Appendf(&json, R"("traceEvents":[)"); in TraceEventsToJson()
[all …]
/external/tensorflow/tensorflow/stream_executor/
Ddnn.cc286 port::Appendf(&spatial, "%lld ", spatial_size()[i]); in ToString()
304 port::Appendf(&spatial, "%lld ", spatial_size()[i]); in ToShortString()
403 port::Appendf(&desc, "%lld ", input_filter_dims()[i]); in ToString()
419 port::Appendf(&spatial, "%lld ", input_filter_dims()[i]); in ToShortString()
473 port::Appendf(&padding, "%lld ", this->padding()[i]); in ToString()
474 port::Appendf(&strides, "%lld ", this->strides()[i]); in ToString()
475 port::Appendf(&dilations, "%lld ", this->dilations()[i]); in ToString()
488 if (i > 0) port::Appendf(&desc, "_"); in ToShortString()
489 port::Appendf(&desc, "p%d:%lld", i, padding()[i]); in ToShortString()
492 port::Appendf(&desc, "_s%d:%lld", i, strides()[i]); in ToShortString()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Das_string_op.cc70 strings::Appendf(&format_, "%s%d", fill_string.c_str(), width); in AsStringOp()
73 strings::Appendf(&format_, ".%d", precision); in AsStringOp()
79 strings::Appendf(&format_, "d"); in AsStringOp()
82 strings::Appendf(&format_, "lld"); in AsStringOp()
89 strings::Appendf(&format_, "g"); in AsStringOp()
91 strings::Appendf(&format_, "e"); in AsStringOp()
93 strings::Appendf(&format_, "f"); in AsStringOp()
/external/tensorflow/tensorflow/core/lib/strings/
Dnumbers.cc442 Appendf(&s, "%lld", value); in HumanReadableNum()
445 Appendf(&s, "%0.3G", static_cast<double>(value)); in HumanReadableNum()
454 Appendf(&s, "%.2f%c", value / 1000.0, *unit); in HumanReadableNum()
507 strings::Appendf(&human_readable, "%0.3g us", microseconds); in HumanReadableElapsedTime()
516 strings::Appendf(&human_readable, "%0.3g ms", milliseconds); in HumanReadableElapsedTime()
520 strings::Appendf(&human_readable, "%0.3g s", seconds); in HumanReadableElapsedTime()
525 strings::Appendf(&human_readable, "%0.3g min", seconds); in HumanReadableElapsedTime()
530 strings::Appendf(&human_readable, "%0.3g h", seconds); in HumanReadableElapsedTime()
535 strings::Appendf(&human_readable, "%0.3g days", seconds); in HumanReadableElapsedTime()
539 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(string* dst, const char* format, ...)
Dstringprintf.cc85 void Appendf(string* dst, const char* format, ...) { in Appendf() function
/external/tensorflow/tensorflow/lite/toco/
Dformat_port.h49 tensorflow::strings::Appendf(destination, fmt, args...); in AppendFHelper()
54 tensorflow::strings::Appendf(destination, "%s", fmt); in AppendFHelper()
/external/tensorflow/tensorflow/core/util/
Dcommand_line_flags.cc288 strings::Appendf(&usage_text, "usage: %s\nFlags:\n", cmdline.c_str()); in Usage()
290 strings::Appendf(&usage_text, "usage: %s\n", cmdline.c_str()); in Usage()
318 strings::Appendf(&usage_text, "\t%-33s\t%s\t%s\n", flag_string.c_str(), in Usage()
/external/tensorflow/tensorflow/stream_executor/lib/
Dstringprintf.h25 using tensorflow::strings::Appendf;
/external/tensorflow/tensorflow/core/ops/
Dtpu_embedding_ops.cc129 strings::Appendf(&parameter_descriptions, in RegisterPerTableLoadOpsForAlgorithmBody()
246 strings::Appendf(&parameter_descriptions, in RegisterPerTableRetrieveOpsForAlgorithmBody()
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_util.cc373 strings::Appendf(&ret, "%p:", ptr); in MemoryDebugString()
/external/tensorflow/tensorflow/python/framework/
Dpython_op_gen.cc1077 strings::Appendf(&result, "_op_def_lib = _InitOpDefLibrary(b\"%s\")\n", in GetPythonOps()