/external/tensorflow/tensorflow/python/framework/ |
D | python_op_gen.cc | 57 strings::StrAppend(result, indentation, in AddInferredAttr() 67 strings::StrAppend(&ret, ", "); in VectorToTuple() 69 strings::StrAppend(&ret, l[i]); in VectorToTuple() 71 strings::StrAppend(&ret, ")"); in VectorToTuple() 79 strings::StrAppend(result, prefix, var, " = "); in Unflatten() 80 if (i > 0) strings::StrAppend(result, var, "[:", i, "] + "); in Unflatten() 84 strings::StrAppend(result, "[", var, "[:", output_sizes[i], "]] + ", in Unflatten() 87 strings::StrAppend(result, "[", var, "[", i, ":", i, " + ", in Unflatten() 92 strings::StrAppend(result, "[", var, "[", i, ":]]"); in Unflatten() 94 strings::StrAppend(result, "\n"); in Unflatten() [all …]
|
D | python_op_gen_internal.cc | 130 strings::StrAppend(&result, "\n"); in Indent() 132 strings::StrAppend(&result, Spaces(rest), line, "\n"); in Indent() 145 strings::StrAppend(dest, "\n", append); in AppendWithinWidth() 147 strings::StrAppend(dest, " ", append); in AppendWithinWidth() 175 if (!ret.empty()) strings::StrAppend(&ret, ", "); in TypeListString() 178 strings::StrAppend(&ret, PythonDataTypeString(RemoveRefType(dtype)), in TypeListString() 181 strings::StrAppend(&ret, "`", PythonDataTypeString(dtype), "`"); in TypeListString() 222 strings::StrAppend(&prefix, " mutable"); in ArgTypeName() 284 strings::StrAppend(&result, "\n Returns:\n"); in GetReturns() 286 strings::StrAppend(&result, " The created Operation.\n"); in GetReturns() [all …]
|
/external/tensorflow/tensorflow/cc/framework/ |
D | cc_op_gen.cc | 120 strings::StrAppend(&ret, indent, "///\n"); in MakeComment() 122 strings::StrAppend(&ret, indent, "/// ", in MakeComment() 141 if (d > 0) strings::StrAppend(&ret, ", "); in PrintTensorShape() 142 strings::StrAppend(&ret, shape.dim_size(d)); in PrintTensorShape() 144 strings::StrAppend(&ret, "}"); in PrintTensorShape() 152 if (i > 0) strings::StrAppend(&ret, ", "); in PrintArray() 153 strings::StrAppend(&ret, array[i]); in PrintArray() 188 if (i > 0) strings::StrAppend(&ret, " "); in PrintTensor() 189 strings::StrAppend(&ret, str_util::CEscape(t.flat<string>()(i))); in PrintTensor() 228 if (i > 0) strings::StrAppend(&ret, ", "); in PrintAttrValue() [all …]
|
/external/tensorflow/tensorflow/core/framework/ |
D | collective.cc | 92 strings::StrAppend(&v, d, ","); in ToString() 94 strings::StrAppend(&v, "} task_names={"); in ToString() 96 strings::StrAppend(&v, n, ", "); in ToString() 98 strings::StrAppend(&v, "} num_devices_per_task={"); in ToString() 100 strings::StrAppend(&v, dpt.first, ": ", dpt.second, ", "); in ToString() 102 strings::StrAppend(&v, "}, collective_name=", impl_details.collective_name, in ToString() 105 strings::StrAppend(&v, "}, subdiv_offsets={"); in ToString() 107 strings::StrAppend(&v, d, ","); in ToString() 109 strings::StrAppend(&v, "}, subdiv_perms={"); in ToString() 111 strings::StrAppend(&v, "{"); in ToString() [all …]
|
D | op_def_util.cc | 55 strings::StrAppend(&allowed_str, ", "); in AllowedTypeValue() 57 strings::StrAppend(&allowed_str, in AllowedTypeValue() 75 strings::StrAppend(&allowed_str, ", "); in AllowedStringValue() 77 strings::StrAppend(&allowed_str, "\"", allowed, "\""); in AllowedStringValue() 371 if (!ret.empty()) strings::StrAppend(&ret, ", "); in SummarizeArgs() 372 strings::StrAppend(&ret, arg.name(), ":"); in SummarizeArgs() 373 if (arg.is_ref()) strings::StrAppend(&ret, "Ref("); in SummarizeArgs() 375 strings::StrAppend(&ret, arg.number_attr(), "*"); in SummarizeArgs() 378 strings::StrAppend(&ret, DataTypeString(arg.type())); in SummarizeArgs() 380 strings::StrAppend(&ret, arg.type_attr()); in SummarizeArgs() [all …]
|
D | op_gen_lib.cc | 34 strings::StrAppend(&result, prefix); in WordWrap() 39 strings::StrAppend(&result, str); in WordWrap() 47 strings::StrAppend(&result, str); in WordWrap() 62 strings::StrAppend(&result, to_append); in WordWrap() 63 if (!str.empty()) strings::StrAppend(&result, indent_next_line); in WordWrap() 154 strings::StrAppend(ml, up_to_colon, ": <<", end, "\n", unescaped, "\n", end); in ConvertLine() 157 strings::StrAppend(ml, suffix); in ConvertLine() 159 strings::StrAppend(ml, "\n"); in ConvertLine() 175 strings::StrAppend(&ml, line, "\n"); in PBTxtToMultiline() 205 strings::StrAppend(&pbtxt, line); in PBTxtFromMultiline() [all …]
|
D | function.cc | 172 strings::StrAppend(&name, "_", i); in BuildInputArgIndex() 337 strings::StrAppend(&name, "_", i); in AddReturnNode() 460 strings::StrAppend(&out, arg.name(), ":"); in Print() 461 if (arg.is_ref()) strings::StrAppend(&out, "Ref("); in Print() 463 strings::StrAppend(&out, arg.number_attr(), "*"); in Print() 466 strings::StrAppend(&out, DataTypeString(arg.type())); in Print() 468 strings::StrAppend(&out, arg.type_attr()); in Print() 470 if (arg.is_ref()) strings::StrAppend(&out, ")"); in Print() 482 if (i > 0) strings::StrAppend(&ret, ", "); in Print() 483 strings::StrAppend(&ret, DataTypeString(attr_value.list().type(i))); in Print() [all …]
|
/external/tensorflow/tensorflow/js/ops/ |
D | ts_op_gen.cc | 103 strings::StrAppend(&result_, "\n"); in Code() 161 strings::StrAppend(&inputs, input_op_args_[*iter].op_def_arg.name()); in InputForAttr() 168 strings::StrAppend(&result_, "export function ", api_def_.endpoint(0).name(), in AddMethodSignature() 176 strings::StrAppend(&result_, ", "); in AddMethodSignature() 181 strings::StrAppend(&result_, op_def_arg.name(), ": "); in AddMethodSignature() 183 strings::StrAppend(&result_, "tfc.Tensor[]"); in AddMethodSignature() 185 strings::StrAppend(&result_, "tfc.Tensor"); in AddMethodSignature() 190 strings::StrAppend(&result_, "): tfc.Tensor {\n"); in AddMethodSignature() 192 strings::StrAppend(&result_, "): tfc.Tensor[] {\n"); in AddMethodSignature() 197 strings::StrAppend(&result_, " const opAttrs = [\n"); in AddOpAttrs() [all …]
|
/external/libchrome/base/strings/ |
D | 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});
|
D | strcat.h | 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, in StrAppend() function 90 return StrAppend(dest, make_span(pieces.begin(), pieces.size())); in StrAppend() 92 inline void StrAppend(string16* dest, in StrAppend() function 94 return StrAppend(dest, make_span(pieces.begin(), pieces.size())); in StrAppend()
|
D | strcat.cc | 65 void StrAppend(std::string* dest, span<const StringPiece> pieces) { in StrAppend() function 69 void StrAppend(string16* dest, span<const StringPiece16> pieces) { in StrAppend() function 73 void StrAppend(std::string* dest, span<const std::string> pieces) { in StrAppend() function 77 void StrAppend(string16* dest, span<const string16> pieces) { in StrAppend() function
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | build_graph_options.cc | 25 strings::StrAppend(&rv, s, ", "); in DebugString() 27 strings::StrAppend(&rv, "\nFetch endpoints: "); in DebugString() 29 strings::StrAppend(&rv, s, ", "); in DebugString() 31 strings::StrAppend(&rv, "\nTarget nodes: "); in DebugString() 33 strings::StrAppend(&rv, s, ", "); in DebugString() 36 strings::StrAppend(&rv, "\ncollective_graph_key: ", collective_graph_key); in DebugString() 50 strings::StrAppend(&rv, "\ncollective_order: ", collective_order_str); in DebugString()
|
D | collective_util.cc | 59 strings::StrAppend(&buf, "Subdiv ", sdi, " device order:\n"); in SubdivPermDebugString() 64 strings::StrAppend(&buf, col_params.instance.device_names[idx], "\n"); in SubdivPermDebugString() 67 strings::StrAppend(&buf, " subdiv_offsets: "); in SubdivPermDebugString() 69 strings::StrAppend(&buf, o, " "); in SubdivPermDebugString() 70 strings::StrAppend(&buf, " SubdivRank: "); in SubdivPermDebugString() 71 for (auto d : col_params.subdiv_rank) strings::StrAppend(&buf, d, " "); in SubdivPermDebugString() 73 strings::StrAppend(&buf, " subdiv_source_rank: "); in SubdivPermDebugString() 75 strings::StrAppend(&buf, src, " "); in SubdivPermDebugString() 77 strings::StrAppend(&buf, "\n"); in SubdivPermDebugString()
|
/external/tensorflow/tensorflow/compiler/xla/service/ |
D | hlo_module_config.cc | 29 using absl::StrAppend; 43 StrAppend(&key, "::("); in compilation_cache_key() 49 StrAppend(&key, absl::StrJoin(params, ", "), ") => ", in compilation_cache_key() 54 StrAppend(&key, "forcing recompile ", counter++); in compilation_cache_key() 57 StrAppend(&key, "::replica_count=", replica_count()); in compilation_cache_key() 59 StrAppend(&key, debug_options_.DebugString()); in compilation_cache_key() 61 StrAppend(&key, "::intra_op_parallelism_threads=", in compilation_cache_key()
|
/external/tensorflow/tensorflow/core/lib/strings/ |
D | strcat_test.cc | 206 TEST(StrAppend, Basics) { in TEST() argument 219 tensorflow::strings::StrAppend(&result, strs[0]); in TEST() 223 tensorflow::strings::StrAppend(&result, strs[1], pieces[2]); in TEST() 227 tensorflow::strings::StrAppend(&result, strs[0], ", ", pieces[2]); in TEST() 231 tensorflow::strings::StrAppend(&result, strs[0], ", ", strs[1], " ", strs[2], in TEST() 236 tensorflow::strings::StrAppend(&result, pieces[0], ", ", pieces[1], " ", in TEST() 241 tensorflow::strings::StrAppend(&result, c_strs[0], ", ", c_strs[1], " ", in TEST() 246 tensorflow::strings::StrAppend(&result, "ASCII ", i32s[0], ", ", i32s[1], " ", in TEST() 251 tensorflow::strings::StrAppend(&result, ui64s[0], ", ", ui64s[1], "!"); in TEST() 258 tensorflow::strings::StrAppend(&result, "And a ", one.size(), " and a ", in TEST() [all …]
|
D | proto_text_util.h | 45 StrAppend(output_, level_empty_ ? "" : field_separator_, indent_, in OpenNestedMessage() 47 if (!short_debug_) StrAppend(&indent_, " "); in OpenNestedMessage() 54 StrAppend(output_, level_empty_ ? "" : field_separator_, indent_, "}"); in CloseNestedMessage() 60 if (!short_debug_ && !level_empty_) StrAppend(output_, "\n"); in CloseTopMessage() 104 StrAppend(output_, level_empty_ ? "" : field_separator_, indent_, in AppendFieldAndValue()
|
/external/tensorflow/tensorflow/compiler/xla/ |
D | window_util.cc | 52 using absl::StrAppend; in ToString() 56 StrAppend(&str, ",stride=", dim.stride()); in ToString() 59 StrAppend(&str, ",padding_low=", dim.padding_low()); in ToString() 62 StrAppend(&str, ",padding_high=", dim.padding_high()); in ToString() 65 StrAppend(&str, ",base_dilation=", dim.base_dilation()); in ToString() 68 StrAppend(&str, ",window_dilation=", dim.window_dilation()); in ToString() 71 StrAppend(&str, ",window_reversal"); in ToString() 73 StrAppend(&str, ")"); in ToString() 78 using absl::StrAppend; in ToString() 85 StrAppend(&str, heading, "="); in ToString() [all …]
|
/external/tensorflow/tensorflow/core/util/ |
D | bcast_test.cc | 33 strings::StrAppend(&ret, "[", str_util::Join(b.x_reshape(), ","), "]"); in BCast() 34 strings::StrAppend(&ret, "[", str_util::Join(b.x_bcast(), ","), "]"); in BCast() 35 strings::StrAppend(&ret, "[", str_util::Join(b.y_reshape(), ","), "]"); in BCast() 36 strings::StrAppend(&ret, "[", str_util::Join(b.y_bcast(), ","), "]"); in BCast() 37 strings::StrAppend(&ret, "[", str_util::Join(b.result_shape(), ","), "]"); in BCast() 38 strings::StrAppend(&ret, "[", str_util::Join(b.output_shape(), ","), "]"); in BCast() 39 strings::StrAppend(&ret, "[", str_util::Join(b.grad_x_reduce_idx(), ","), in BCast() 41 strings::StrAppend(&ret, "[", str_util::Join(b.grad_y_reduce_idx(), ","), in BCast()
|
/external/tensorflow/tensorflow/stream_executor/lib/ |
D | path.cc | 43 absl::StrAppend(&result, path.substr(1)); in JoinPathImpl() 45 absl::StrAppend(&result, path); in JoinPathImpl() 49 absl::StrAppend(&result, path); in JoinPathImpl() 51 absl::StrAppend(&result, "/", path); in JoinPathImpl()
|
/external/tensorflow/tensorflow/python/lib/core/ |
D | py_util.cc | 89 strings::StrAppend(out, PyString_AS_STRING(v), "\n"); in TryAppendTraceback() 91 strings::StrAppend(out, PyUnicode_AsUTF8(v), "\n"); in TryAppendTraceback() 113 strings::StrAppend(&err, ": ", PyString_AS_STRING(str), "\n"); in PyExceptionFetch() 115 strings::StrAppend(&err, ": ", PyUnicode_AsUTF8(str), "\n"); in PyExceptionFetch() 119 strings::StrAppend(&err, "(unknown error message)\n"); in PyExceptionFetch()
|
/external/tensorflow/tensorflow/core/common_runtime/eager/ |
D | eager_operation.cc | 43 strings::StrAppend(&out, "Name: ", name_, "\n"); in DebugString() 44 strings::StrAppend( in DebugString() 48 strings::StrAppend(&out, "Input: ", input->DebugString(), "\n"); in DebugString() 53 strings::StrAppend(&out, "Attrs: ", ndef.DebugString(), "\n"); in DebugString()
|
/external/tensorflow/tensorflow/compiler/xla/service/gpu/ |
D | thunk_schedule.cc | 166 absl::StrAppend(&result, kind_str, in ToString() 169 absl::StrAppend(&result, thunk->hlo_instruction()->ToString()); in ToString() 171 absl::StrAppend(&result, "(no HloInstruction)"); in ToString() 173 absl::StrAppend(&result, "\n"); in ToString() 175 absl::StrAppend(&result, "\nDependencies:\n"); in ToString() 179 absl::StrAppend(&result, "\t", dependent->hlo_instruction()->name(), in ToString()
|
D | hlo_to_ir_bindings.cc | 35 using absl::StrAppend; 254 StrAppend(&s, " is_nested_=", is_nested_, "\n"); in ToString() 255 StrAppend(&s, in ToString() 275 StrAppend(&s, " Base pointers for computation ", computation->name(), in ToString() 279 StrAppend(&s, " ", instr->ToString()); in ToString() 284 StrAppend(&s, " -> ", llvm_ir::DumpToString(*val), "\n"); in ToString() 288 StrAppend(&s, "\n"); in ToString() 292 StrAppend(&s, " ", shape_it->first.ToString(), " -> ", in ToString()
|
/external/tensorflow/tensorflow/core/kernels/ |
D | logging_ops.cc | 87 strings::StrAppend(&msg, "[", ctx->input(i).SummarizeValue(summarize_), in Compute() 89 if (i < ctx->num_inputs() - 1) strings::StrAppend(&msg, " "); in Compute() 129 strings::StrAppend(&msg, message_); in Compute() 131 strings::StrAppend(&msg, "[", ctx->input(i).SummarizeValue(summarize_), in Compute() 163 strings::StrAppend(&error_msg, " ", valid_stream); in PrintV2Op() 198 strings::StrAppend(&error_msg, " ", valid_stream); in Compute() 200 strings::StrAppend(&error_msg, ", or file://<filename>"); in Compute()
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | graph_optimizer_stage.cc | 102 strings::StrAppend(&optimized_node_name, node.scope, "/"); in MakeOptimizedNodeName() 105 strings::StrAppend(&optimized_node_name, sub_scope, "/"); in MakeOptimizedNodeName() 108 strings::StrAppend(&optimized_node_name, prefix, "_"); in MakeOptimizedNodeName() 110 strings::StrAppend(&optimized_node_name, node.name); in MakeOptimizedNodeName() 121 strings::StrAppend(&optimized_node_name, "_", name_and_scope.name); in MakeOptimizedNodeName()
|