HomeSort by relevance Sort by last modified time
    Searched refs:StrAppend (Results 1 - 25 of 152) sorted by null

1 2 3 4 5 6 7

  /external/tensorflow/tensorflow/core/common_runtime/
build_graph_options.cc 25 strings::StrAppend(&rv, s, ", ");
27 strings::StrAppend(&rv, "\nFetch endpoints: ");
29 strings::StrAppend(&rv, s, ", ");
31 strings::StrAppend(&rv, "\nTarget nodes: ");
33 strings::StrAppend(&rv, s, ", ");
36 strings::StrAppend(&rv, "\ncollective_graph_key: ", collective_graph_key);
50 strings::StrAppend(&rv, "\ncollective_order: ", collective_order_str);
collective_util.cc 59 strings::StrAppend(&buf, "Subdiv ", sdi, " device order:\n");
64 strings::StrAppend(&buf, col_params.instance.device_names[idx], "\n");
67 strings::StrAppend(&buf, " subdiv_offsets: ");
69 strings::StrAppend(&buf, o, " ");
70 strings::StrAppend(&buf, " SubdivRank: ");
71 for (auto d : col_params.subdiv_rank) strings::StrAppend(&buf, d, " ");
73 strings::StrAppend(&buf, " subdiv_source_rank: ");
75 strings::StrAppend(&buf, src, " ");
77 strings::StrAppend(&buf, "\n");
  /external/tensorflow/tensorflow/compiler/xla/service/
hlo_module_config.cc 29 using absl::StrAppend;
43 StrAppend(&key, "::(");
49 StrAppend(&key, absl::StrJoin(params, ", "), ") => ",
54 StrAppend(&key, "forcing recompile ", counter++);
57 StrAppend(&key, "::replica_count=", replica_count());
59 StrAppend(&key, debug_options_.DebugString());
61 StrAppend(&key, "::intra_op_parallelism_threads=",
  /external/tensorflow/tensorflow/stream_executor/lib/
path.cc 43 absl::StrAppend(&result, path.substr(1));
45 absl::StrAppend(&result, path);
49 absl::StrAppend(&result, path);
51 absl::StrAppend(&result, "/", path);
  /external/libchrome/base/strings/
strcat.h 74 // StrAppend -------------------------------------------------------------------
77 // StrAppend(&foo, ...);
82 BASE_EXPORT void StrAppend(std::string* dest, span<const StringPiece> pieces);
83 BASE_EXPORT void StrAppend(string16* dest, span<const StringPiece16> pieces);
84 BASE_EXPORT void StrAppend(std::string* dest, span<const std::string> pieces);
85 BASE_EXPORT void StrAppend(string16* dest, span<const string16> pieces);
88 inline void StrAppend(std::string* dest,
90 return StrAppend(dest, make_span(pieces.begin(), pieces.size()));
92 inline void StrAppend(string16* dest,
94 return StrAppend(dest, make_span(pieces.begin(), pieces.size()))
    [all...]
strcat_unittest.cc 31 TEST(StrAppend, 8Bit) {
35 StrAppend(&result, {std::string()});
39 StrAppend(&result, {"1"});
43 StrAppend(&result, {"1", "22", "333"});
47 TEST(StrAppend, 16Bit) {
55 StrAppend(&result, {string16()});
59 StrAppend(&result, {arg1});
63 StrAppend(&result, {arg1, arg2, arg3});
strcat.cc 12 // least 2x. Used by StrAppend().
18 // call to StrAppend() would definitely cause a reallocation, and loops with
19 // StrAppend() calls would have O(n^2) complexity to execute. Instead, we want
20 // StrAppend() to have the same semantics as std::string::append().
65 void StrAppend(std::string* dest, span<const StringPiece> pieces) {
69 void StrAppend(string16* dest, span<const StringPiece16> pieces) {
73 void StrAppend(std::string* dest, span<const std::string> pieces) {
77 void StrAppend(string16* dest, span<const string16> pieces) {
  /external/tensorflow/tensorflow/python/framework/
python_op_gen.cc 57 strings::StrAppend(result, indentation,
67 strings::StrAppend(&ret, ", ");
69 strings::StrAppend(&ret, l[i]);
71 strings::StrAppend(&ret, ")");
79 strings::StrAppend(result, prefix, var, " = ");
80 if (i > 0) strings::StrAppend(result, var, "[:", i, "] + ");
84 strings::StrAppend(result, "[", var, "[:", output_sizes[i], "]] + ",
87 strings::StrAppend(result, "[", var, "[", i, ":", i, " + ",
92 strings::StrAppend(result, "[", var, "[", i, ":]]");
94 strings::StrAppend(result, "\n")
    [all...]
python_op_gen_internal.cc 130 strings::StrAppend(&result, "\n");
132 strings::StrAppend(&result, Spaces(rest), line, "\n");
145 strings::StrAppend(dest, "\n", append);
147 strings::StrAppend(dest, " ", append);
175 if (!ret.empty()) strings::StrAppend(&ret, ", ");
178 strings::StrAppend(&ret, PythonDataTypeString(RemoveRefType(dtype)),
181 strings::StrAppend(&ret, "`", PythonDataTypeString(dtype), "`");
222 strings::StrAppend(&prefix, " mutable");
284 strings::StrAppend(&result, "\n Returns:\n");
286 strings::StrAppend(&result, " The created Operation.\n")
    [all...]
  /external/tensorflow/tensorflow/cc/framework/
cc_op_gen.cc 120 strings::StrAppend(&ret, indent, "///\n");
122 strings::StrAppend(&ret, indent, "/// ",
141 if (d > 0) strings::StrAppend(&ret, ", ");
142 strings::StrAppend(&ret, shape.dim_size(d));
144 strings::StrAppend(&ret, "}");
152 if (i > 0) strings::StrAppend(&ret, ", ");
153 strings::StrAppend(&ret, array[i]);
188 if (i > 0) strings::StrAppend(&ret, " ");
189 strings::StrAppend(&ret, str_util::CEscape(t.flat<string>()(i)));
228 if (i > 0) strings::StrAppend(&ret, ", ")
    [all...]
  /external/tensorflow/tensorflow/core/framework/
collective.cc 92 strings::StrAppend(&v, d, ",");
94 strings::StrAppend(&v, "} task_names={");
96 strings::StrAppend(&v, n, ", ");
98 strings::StrAppend(&v, "} num_devices_per_task={");
100 strings::StrAppend(&v, dpt.first, ": ", dpt.second, ", ");
102 strings::StrAppend(&v, "}, collective_name=", impl_details.collective_name,
105 strings::StrAppend(&v, "}, subdiv_offsets={");
107 strings::StrAppend(&v, d, ",");
109 strings::StrAppend(&v, "}, subdiv_perms={");
111 strings::StrAppend(&v, "{")
    [all...]
op_def_util.cc 55 strings::StrAppend(&allowed_str, ", ");
57 strings::StrAppend(&allowed_str,
75 strings::StrAppend(&allowed_str, ", ");
77 strings::StrAppend(&allowed_str, "\"", allowed, "\"");
371 if (!ret.empty()) strings::StrAppend(&ret, ", ");
372 strings::StrAppend(&ret, arg.name(), ":");
373 if (arg.is_ref()) strings::StrAppend(&ret, "Ref(");
375 strings::StrAppend(&ret, arg.number_attr(), "*");
378 strings::StrAppend(&ret, DataTypeString(arg.type()));
380 strings::StrAppend(&ret, arg.type_attr())
    [all...]
  /external/tensorflow/tensorflow/js/ops/
ts_op_gen.cc 103 strings::StrAppend(&result_, "\n");
161 strings::StrAppend(&inputs, input_op_args_[*iter].op_def_arg.name());
168 strings::StrAppend(&result_, "export function ", api_def_.endpoint(0).name(),
176 strings::StrAppend(&result_, ", ");
181 strings::StrAppend(&result_, op_def_arg.name(), ": ");
183 strings::StrAppend(&result_, "tfc.Tensor[]");
185 strings::StrAppend(&result_, "tfc.Tensor");
190 strings::StrAppend(&result_, "): tfc.Tensor {\n");
192 strings::StrAppend(&result_, "): tfc.Tensor[] {\n");
197 strings::StrAppend(&result_, " const opAttrs = [\n")
    [all...]
  /external/tensorflow/tensorflow/core/common_runtime/eager/
eager_operation.cc 43 strings::StrAppend(&out, "Name: ", name_, "\n");
44 strings::StrAppend(
48 strings::StrAppend(&out, "Input: ", input->DebugString(), "\n");
53 strings::StrAppend(&out, "Attrs: ", ndef.DebugString(), "\n");
  /external/tensorflow/tensorflow/python/lib/core/
py_util.cc 89 strings::StrAppend(out, PyString_AS_STRING(v), "\n");
91 strings::StrAppend(out, PyUnicode_AsUTF8(v), "\n");
113 strings::StrAppend(&err, ": ", PyString_AS_STRING(str), "\n");
115 strings::StrAppend(&err, ": ", PyUnicode_AsUTF8(str), "\n");
119 strings::StrAppend(&err, "(unknown error message)\n");
  /external/tensorflow/tensorflow/core/util/
bcast_test.cc 33 strings::StrAppend(&ret, "[", str_util::Join(b.x_reshape(), ","), "]");
34 strings::StrAppend(&ret, "[", str_util::Join(b.x_bcast(), ","), "]");
35 strings::StrAppend(&ret, "[", str_util::Join(b.y_reshape(), ","), "]");
36 strings::StrAppend(&ret, "[", str_util::Join(b.y_bcast(), ","), "]");
37 strings::StrAppend(&ret, "[", str_util::Join(b.result_shape(), ","), "]");
38 strings::StrAppend(&ret, "[", str_util::Join(b.output_shape(), ","), "]");
39 strings::StrAppend(&ret, "[", str_util::Join(b.grad_x_reduce_idx(), ","),
41 strings::StrAppend(&ret, "[", str_util::Join(b.grad_y_reduce_idx(), ","),
  /external/tensorflow/tensorflow/core/kernels/
string_format_op.cc 47 strings::StrAppend(&msg, split_template_[0].c_str());
49 strings::StrAppend(&msg, ctx->input(i).SummarizeValue(summarize_, true));
50 strings::StrAppend(&msg, split_template_[i + 1].c_str());
  /external/tensorflow/tensorflow/core/grappler/optimizers/
graph_optimizer_stage.cc 102 strings::StrAppend(&optimized_node_name, node.scope, "/");
105 strings::StrAppend(&optimized_node_name, sub_scope, "/");
108 strings::StrAppend(&optimized_node_name, prefix, "_");
110 strings::StrAppend(&optimized_node_name, node.name);
121 strings::StrAppend(&optimized_node_name, "_", name_and_scope.name);
  /external/tensorflow/tensorflow/core/lib/strings/
proto_text_util.h 45 StrAppend(output_, level_empty_ ? "" : field_separator_, indent_,
47 if (!short_debug_) StrAppend(&indent_, " ");
54 StrAppend(output_, level_empty_ ? "" : field_separator_, indent_, "}");
60 if (!short_debug_ && !level_empty_) StrAppend(output_, "\n");
104 StrAppend(output_, level_empty_ ? "" : field_separator_, indent_,
strcat_test.cc 206 TEST(StrAppend, Basics) {
219 tensorflow::strings::StrAppend(&result, strs[0]);
223 tensorflow::strings::StrAppend(&result, strs[1], pieces[2]);
227 tensorflow::strings::StrAppend(&result, strs[0], ", ", pieces[2]);
231 tensorflow::strings::StrAppend(&result, strs[0], ", ", strs[1], " ", strs[2],
236 tensorflow::strings::StrAppend(&result, pieces[0], ", ", pieces[1], " ",
241 tensorflow::strings::StrAppend(&result, c_strs[0], ", ", c_strs[1], " ",
246 tensorflow::strings::StrAppend(&result, "ASCII ", i32s[0], ", ", i32s[1], " ",
251 tensorflow::strings::StrAppend(&result, ui64s[0], ", ", ui64s[1], "!");
258 tensorflow::strings::StrAppend(&result, "And a ", one.size(), " and a "
    [all...]
strcat.h 162 // quadratic time operation with O(n) dynamic allocations. StrAppend
164 // of StrAppend(&str, a, b, c, ...) that none of the a, b, c, ... may
199 // StrAppend()
201 // WARNING: For speed, StrAppend does not try to check each of its input
211 // StrAppend(&s, s);
213 // Note: while StrCat supports appending up to 26 arguments, StrAppend
215 // automatically transforming StrCat to StrAppend, and can easily be
216 // worked around as consecutive calls to StrAppend are quite efficient.
219 void StrAppend(string *dest, const AlphaNum &a);
220 void StrAppend(string *dest, const AlphaNum &a, const AlphaNum &b)
    [all...]
  /external/tensorflow/tensorflow/compiler/xla/
window_util.cc 52 using absl::StrAppend;
56 StrAppend(&str, ",stride=", dim.stride());
59 StrAppend(&str, ",padding_low=", dim.padding_low());
62 StrAppend(&str, ",padding_high=", dim.padding_high());
65 StrAppend(&str, ",base_dilation=", dim.base_dilation());
68 StrAppend(&str, ",window_dilation=", dim.window_dilation());
71 StrAppend(&str, ",window_reversal");
73 StrAppend(&str, ")");
78 using absl::StrAppend;
85 StrAppend(&str, heading, "=")
    [all...]
  /external/tensorflow/tensorflow/compiler/xla/service/gpu/
thunk_schedule.cc 166 absl::StrAppend(&result, kind_str,
169 absl::StrAppend(&result, thunk->hlo_instruction()->ToString());
171 absl::StrAppend(&result, "(no HloInstruction)");
173 absl::StrAppend(&result, "\n");
175 absl::StrAppend(&result, "\nDependencies:\n");
179 absl::StrAppend(&result, "\t", dependent->hlo_instruction()->name(),
  /external/tensorflow/tensorflow/compiler/tf2xla/
functionalize_control_flow_util.h 49 absl::StrAppend(output, node->name());
  /external/tensorflow/tensorflow/core/profiler/rpc/client/
trace_events_to_json.cc 29 using ::tensorflow::strings::StrAppend;
34 StrAppend(json, "\"name\":", Json::valueToQuotedString(name.c_str()).c_str());
70 StrAppend(json, "}},");
89 StrAppend(json, ",");
94 StrAppend(json, R"("ph":"i","s":"t"},)");

Completed in 8361 milliseconds

1 2 3 4 5 6 7