Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/contrib/tpu/profiler/
Dtrace_events_to_json.cc25 using ::tensorflow::strings::Appendf;
42 Appendf(json, in AddResourceMetadata()
47 Appendf(json, "}},"); in AddResourceMetadata()
49 Appendf(json, in AddResourceMetadata()
62 Appendf(json, in AddDeviceMetadata()
69 Appendf(json, in AddDeviceMetadata()
83 Appendf(json, R"({"pid":%u,"tid":%u,"ts":%.5f,)", event.device_id(), in AddTraceEvent()
88 Appendf(json, R"("ph":"X","dur":%.5f},)", in AddTraceEvent()
99 Appendf(&json, in TraceEventsToJson()
101 Appendf(&json, in TraceEventsToJson()
[all …]
/external/tensorflow/tensorflow/stream_executor/
Ddnn.cc267 port::Appendf(&spatial, "%lld ", spatial_size_[i]); in ToString()
285 port::Appendf(&spatial, "%lld ", spatial_size_[i]); in ToShortString()
380 port::Appendf(&desc, "%lld ", input_filter_dims_[i]); in ToString()
396 port::Appendf(&spatial, "%lld ", input_filter_dims_[i]); in ToShortString()
441 port::Appendf(&padding, "%lld ", zero_padding_[i]); in ToString()
442 port::Appendf(&strides, "%lld ", filter_strides_[i]); in ToString()
443 port::Appendf(&dilations, "%lld ", dilation_rates_[i]); in ToString()
456 if (i > 0) port::Appendf(&desc, "_"); in ToShortString()
457 port::Appendf(&desc, "p%d:%lld", i, zero_padding_[i]); in ToShortString()
460 port::Appendf(&desc, "_s%d:%lld", i, filter_strides_[i]); in ToShortString()
[all …]
/external/tensorflow/tensorflow/core/kernels/
Das_string_op.cc69 strings::Appendf(&format_, "%s%d", fill_string.c_str(), width); in AsStringOp()
72 strings::Appendf(&format_, ".%d", precision); in AsStringOp()
77 strings::Appendf(&format_, "d"); in AsStringOp()
80 strings::Appendf(&format_, "lld"); in AsStringOp()
86 strings::Appendf(&format_, "g"); in AsStringOp()
88 strings::Appendf(&format_, "e"); in AsStringOp()
90 strings::Appendf(&format_, "f"); in AsStringOp()
/external/tensorflow/tensorflow/core/lib/strings/
Dnumbers.cc409 Appendf(&s, "%lld", value); in HumanReadableNum()
412 Appendf(&s, "%0.3G", static_cast<double>(value)); in HumanReadableNum()
421 Appendf(&s, "%.2f%c", value / 1000.0, *unit); in HumanReadableNum()
474 strings::Appendf(&human_readable, "%0.3g us", microseconds); in HumanReadableElapsedTime()
483 strings::Appendf(&human_readable, "%0.3g ms", milliseconds); in HumanReadableElapsedTime()
487 strings::Appendf(&human_readable, "%0.3g s", seconds); in HumanReadableElapsedTime()
492 strings::Appendf(&human_readable, "%0.3g min", seconds); in HumanReadableElapsedTime()
497 strings::Appendf(&human_readable, "%0.3g h", seconds); in HumanReadableElapsedTime()
502 strings::Appendf(&human_readable, "%0.3g days", seconds); in HumanReadableElapsedTime()
506 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.cc91 void Appendf(string* dst, const char* format, ...) { in Appendf() function
/external/tensorflow/tensorflow/compiler/xla/service/
Dcall_graph.cc33 using ::tensorflow::strings::Appendf;
357 Appendf(&out, "Call graph for module %s:\n", module_->name().c_str()); in ToString()
359 Appendf(&out, "Computation %s:\n", node.computation()->name().c_str()); in ToString()
360 Appendf(&out, " calls:\n"); in ToString()
362 Appendf(&out, " %s\n", callee->name().c_str()); in ToString()
364 Appendf(&out, " called by:\n"); in ToString()
366 Appendf(&out, " %s\n", caller->name().c_str()); in ToString()
368 Appendf(&out, " callsites:\n"); in ToString()
370 Appendf(&out, " %s\n", callsite.ToString().c_str()); in ToString()
Dhuman_readable_profile_builder.cc25 using tensorflow::strings::Appendf;
34 Appendf(&s, "Execution profile for %s: (%s @ f_nom)\n", in ToString()
61 Appendf(&s, in ToString()
Dcomputation_tracker.cc32 using ::tensorflow::strings::Appendf;
244 Appendf(&out, "ComputationTracker(%p):\n", this); in ToStringInternal()
249 Appendf(&out, " %4lld : %s \"%s\"\n", handle, in ToStringInternal()
Dshaped_buffer.cc35 using ::tensorflow::strings::Appendf;
95 Appendf(&s, " %s%p (%lld bytes) : %s\n", in ToString()
Dbuffer_assignment.cc46 using ::tensorflow::strings::Appendf;
120 Appendf(&output, "allocation %lld: %p, size %lld", index_, this, size()); in ToString()
451 Appendf(&s, "BufferAssignment stats:\n"); in ToString()
452 Appendf(&s, " parameter allocation: %10s\n", in ToString()
454 Appendf(&s, " maybe_live_out allocation: %10s\n", in ToString()
456 Appendf(&s, " preallocated temp allocation: %10s\n", in ToString()
461 Appendf( in ToString()
466 Appendf(&s, " total allocation: %10s\n", in ToString()
471 Appendf(&s, " total fragmentation: %10s (%.2f%%)\n", in ToString()
Dsource_map_util.cc29 tensorflow::strings::Appendf(&message, " (%s:%d)", in InvalidParameterArgumentV()
Dhlo_graph_dumper.cc79 void Appendf(string* s, const char* fmt, const Ts&... ts) { in Appendf() function
80 tensorflow::strings::Appendf(s, fmt, PrintfConvert<Ts>()(ts)...); in Appendf()
472 Appendf(&graph_label, "<br/>total cycles = %lld (%s)", cycles, in Header()
Duser_computation.cc2244 tensorflow::strings::Appendf(out, "%lld:%lld", element.first, in RemapEmbeddedComputations()
/external/tensorflow/tensorflow/contrib/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.cc276 strings::Appendf(&usage_text, "usage: %s\nFlags:\n", cmdline.c_str()); in Usage()
278 strings::Appendf(&usage_text, "usage: %s\n", cmdline.c_str()); in Usage()
306 strings::Appendf(&usage_text, "\t%-33s\t%s\t%s\n", flag_string.c_str(), in Usage()
/external/tensorflow/tensorflow/stream_executor/lib/
Dstringprintf.h26 using tensorflow::strings::Appendf;
/external/tensorflow/tensorflow/core/common_runtime/gpu/
Dgpu_util.cc377 strings::Appendf(&ret, "%p:", ptr); in MemoryDebugString()
/external/tensorflow/tensorflow/python/framework/
Dpython_op_gen.cc869 strings::Appendf(&result, "_op_def_lib = _InitOpDefLibrary(b\"%s\")\n", in GetPythonOps()
/external/tensorflow/tensorflow/python/eager/
Dpython_eager_op_gen.cc1011 strings::Appendf(&result, "_op_def_lib = _InitOpDefLibrary(b\"%s\")\n", in GetEagerPythonOps()