/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | xla_context.cc | 128 const string type_string = DataTypeString(type); in GetOrCreateMax() local 129 VLOG(1) << "Building Max() for " << type_string; in GetOrCreateMax() 130 xla::ComputationBuilder b(builder()->client(), "max<" + type_string + ">"); in GetOrCreateMax() 142 const string type_string = DataTypeString(type); in GetOrCreateMin() local 143 VLOG(1) << "Building Min() for " << type_string; in GetOrCreateMin() 144 xla::ComputationBuilder b(builder()->client(), "min<" + type_string + ">"); in GetOrCreateMin() 156 const string type_string = DataTypeString(type); in GetOrCreateAdd() local 157 VLOG(1) << "Building Add() for " << type_string; in GetOrCreateAdd() 158 xla::ComputationBuilder b(builder()->client(), "add<" + type_string + ">"); in GetOrCreateAdd() 170 const string type_string = DataTypeString(type); in GetOrCreateMul() local [all …]
|
D | const_analysis.cc | 46 if (metadata_ops.find(node->type_string()) != metadata_ops.end()) return; in BackwardsConstAnalysis() 51 if (node->type_string() == "_Arg") { in BackwardsConstAnalysis() 66 XlaOpRegistry::CompileTimeConstantInputs(node->type_string()); in BackwardsConstAnalysis()
|
D | tf2xla.cc | 180 if (n->type_string() == kArgOp) { in RewriteAndPruneGraph() 187 } else if (n->type_string() == kRetvalOp) { in RewriteAndPruneGraph() 211 if (n->type_string() == kArgOp) { in CollectArgNodes()
|
/external/mesa3d/src/mapi/glapi/gen/ |
D | glX_proto_recv.py | 201 t = param.type_string() 268 type_string = param.type_string() 273 …rint '%s %s const %s = (%s) (%s(pc + %s));' % (indent, type_string, param.name, type_string, co… 283 print '%s const %s %s = %s;' % (indent, type_string, param.name, location) 288 print '%s %s %s = %s%s;' % (indent, type_string, param.name, cond, location) 290 print '%s %s %s;' % (indent, type_string, param.name) 343 … print ' %s = (%s) (pc + %s); break;' % (param.name, param.type_string(), o) 346 … %s = (%s) %s( (%s *) (pc + %s), %s ); break;' % (param.name, param.type_string(), swap_func, s… 353 …print ' %s = (%s) %s( (%s *) (pc + %s), %s );' % (param.name, param.type_string(), swap_func, s… 360 … print '%s %s = (%s) (pc + %s);' % (indent, param.name, param.type_string(), param.offset) [all …]
|
D | typeexpr.py | 115 def __init__(self, type_string, extra_types = None): argument 118 if not type_string: 121 self.original_string = type_string 128 tokens = string.split( string.replace( type_string, "*", " * " ) )
|
/external/autotest/client/deps/ibusclient/src/ |
D | ibusclient.cc | 44 GVariantClass GetGVariantClassFromStringOrDie(const std::string& type_string) { in GetGVariantClassFromStringOrDie() argument 45 if (type_string == "boolean") { in GetGVariantClassFromStringOrDie() 47 } else if (type_string == "int") { in GetGVariantClassFromStringOrDie() 49 } else if (type_string == "double") { in GetGVariantClassFromStringOrDie() 51 } else if (type_string == "string") { in GetGVariantClassFromStringOrDie() 53 } else if (GetElementType(type_string) != type_string) { in GetGVariantClassFromStringOrDie() 56 printf("FAIL (unknown type: %s)\n", type_string.c_str()); in GetGVariantClassFromStringOrDie() 73 IBusConfig* ibus_config, const std::string& type_string) { in SetConfigAndPrintResult() argument 75 GVariantClass klass = GetGVariantClassFromStringOrDie(type_string); in SetConfigAndPrintResult() 92 = GetGVariantClassFromStringOrDie(GetElementType(type_string)); in SetConfigAndPrintResult() [all …]
|
/external/tensorflow/tensorflow/core/graph/ |
D | mkl_layout_pass.cc | 562 << n->type_string() << ", reason: " << reason; in CanOpRunOnCPUDevice() 677 CHECK_EQ(n->type_string(), csinfo_.bias_add_grad); in IsBiasAddGradInConv2DWithBiasContext() 694 if (e->dst()->type_string() == csinfo_.conv2d_grad_input || in IsBiasAddGradInConv2DWithBiasContext() 695 e->dst()->type_string() == csinfo_.mkl_conv2d_grad_input) { in IsBiasAddGradInConv2DWithBiasContext() 706 if (e->dst()->type_string() == csinfo_.conv2d_grad_filter || in IsBiasAddGradInConv2DWithBiasContext() 707 e->dst()->type_string() == csinfo_.mkl_conv2d_grad_filter) { in IsBiasAddGradInConv2DWithBiasContext() 755 if (fe->dst()->type_string() == csinfo_.mkl_conv2d_with_bias && in IsBiasAddGradInConv2DWithBiasContext() 758 if (ie->dst()->type_string() == csinfo_.mkl_conv2d_with_bias && in IsBiasAddGradInConv2DWithBiasContext() 781 if (fe->dst()->type_string() == csinfo_.mkl_conv2d_with_bias && in IsBiasAddGradInConv2DWithBiasContext() 1106 mkl_op_registry::IsMklOp(n->type_string(), T)) { in GetNodeProducingMklTensor() [all …]
|
D | mkl_tfconversion_pass.cc | 196 << src->type_string() << " and " << dst->type_string() in InsertConversionNodeOnEdge() 279 << "conversion node on: " << n->type_string() << " successful."; in InsertInputConversionNode() 315 if (src->type_string().compare("_MklToTf") == 0 || in RunPass() 316 dst->type_string().compare("_MklToTf") == 0) { in RunPass() 321 << src->type_string() << " and " << dst->type_string(); in RunPass() 330 IsMklSupportedOp(src->type_string(), src_datatype)); in RunPass() 333 IsMklSupportedOp(dst->type_string(), dst_datatype)); in RunPass() 373 if (IsMklElementWiseOp(n->type_string(), datatype)) { in RunPass() 379 (input_node->type_string().compare("_MklInputConversion") == 0)) { in RunPass()
|
D | optimizer_cse.cc | 92 string str_to_hash = strings::StrCat(n->type_string(), out.size()); in NodeHash() 134 if (a->type_string() != b->type_string()) return false; in Equivalent() 192 if (n->type_string() == "Placeholder" || in Optimize() 193 n->type_string() == "PlaceholderV2" || in Optimize() 194 n->type_string() == "PlaceholderWithDefault") { in Optimize()
|
D | quantize_training.cc | 81 const string& src_op = node->type_string(); in FindType() 143 if (node->type_string() == "SaveV2") { in FindSaveOp() 204 NodeBuilder(save_op->name(), save_op->type_string()); in ConnectVariablesToSaveOp() 605 if (nodes_to_rewrite->find(node->type_string()) != in DoQuantizeTraining() 638 " with type: ", edge->src()->type_string(), in DoQuantizeTraining()
|
/external/bsdiff/ |
D | bsdiff_arguments.cc | 110 string type_string = str; in ParseCompressorType() local 111 std::transform(type_string.begin(), type_string.end(), type_string.begin(), in ParseCompressorType() 113 if (type_string == kNoCompressionString) { in ParseCompressorType() 116 } else if (type_string == kBZ2String) { in ParseCompressorType() 119 } else if (type_string == kBrotliString) { in ParseCompressorType()
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | mark_for_compilation_pass.cc | 52 if (node.type_string() == "SymbolicGradient") return false; in HasXLAKernel() 69 VLOG(2) << "Loop marking: " << while_node.type_string(); in IsCompilableWhile() 140 if (node->type_string() == "_Arg" || node->type_string() == "_Retval") in IsCompilableCall() 142 if (node->type_string() == "While") { in IsCompilableCall() 209 << ": " << node->type_string(); in FindCompilationCandidates() 215 << node->name() << ": " << node->type_string(); in FindCompilationCandidates() 218 if (node->type_string() == "While" && in FindCompilationCandidates() 224 if (node->type_string() == "_Arg") { in FindCompilationCandidates() 231 if (node->type_string() == "_Retval") { in FindCompilationCandidates() 233 << ": " << node->type_string(); in FindCompilationCandidates() [all …]
|
D | xla_device.cc | 230 VLOG(2) << n->id() << " : " << n->type_string() << " : " << n->name(); in FillContextMap() 240 << op_kernel->type_string(); in Compute() 244 port::Tracing::TraceMe trace_me(op_kernel->name(), op_kernel->type_string(), in Compute() 252 << op_kernel->type_string(); in ComputeAsync() 253 port::Tracing::TraceMe trace_me(op_kernel->name(), op_kernel->type_string(), in ComputeAsync()
|
D | xla_device_ops.cc | 26 << type_string() << " on an XLA device. This should never happen."; in Compute()
|
/external/v8/tools/turbolizer/ |
D | node.js | 74 var type_string = this.type; 75 if (type_string == undefined) return ""; 76 if (type_string.length > 24) { 77 type_string = type_string.substr(0, 25) + "..."; 79 return type_string;
|
/external/tensorflow/tensorflow/core/framework/ |
D | op_def_builder.cc | 124 bool ProcessCompoundType(const StringPiece type_string, AttrValue* allowed) { in ProcessCompoundType() argument 125 if (type_string == "numbertype" || type_string == "numerictype") { in ProcessCompoundType() 129 } else if (type_string == "quantizedtype") { in ProcessCompoundType() 133 } else if (type_string == "realnumbertype" || in ProcessCompoundType() 134 type_string == "realnumerictype") { in ProcessCompoundType() 157 StringPiece type_string; // Used if type == "type" in FinalizeAttr() local 174 } else if (ConsumeCompoundAttrType(&spec, &type_string)) { in FinalizeAttr() 177 VERIFY(ProcessCompoundType(type_string, allowed), in FinalizeAttr() 178 "Expected to see a compound type, saw: ", type_string); in FinalizeAttr() 208 VERIFY(ConsumeAttrType(&spec, &type_string), in FinalizeAttr() [all …]
|
D | attr_value_util.cc | 145 #define VALIDATE_FIELD(name, type_string, oneof_case) \ in AttrValueHasType() argument 149 if (type != "list(" type_string ")") { \ in AttrValueHasType() 151 "AttrValue had value with type 'list(" type_string ")' when '", \ in AttrValueHasType() 157 if (type != type_string) { \ in AttrValueHasType() 159 "AttrValue had value with type '" type_string "' when '", type, \ in AttrValueHasType()
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | strip_unused_nodes.cc | 44 const string& type_string = context.params.at("type")[0]; in TypeForPlaceholder() local 45 if (!DataTypeFromString(type_string, result)) { in TypeForPlaceholder() 47 type_string, "'"); in TypeForPlaceholder() 65 const string& type_string = context.params.at("type_for_name")[i]; in TypeForPlaceholder() local 66 if (!DataTypeFromString(type_string, result)) { in TypeForPlaceholder() 68 type_string, "'"); in TypeForPlaceholder()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | shape_refiner.cc | 70 if (StringPiece(node->type_string()) == kArgOp) { in InferShapesForFunctionSubNode() 90 } else if (StringPiece(node->type_string()) == kRetvalOp) { in InferShapesForFunctionSubNode() 246 TF_RETURN_IF_ERROR(ops_registry_->LookUp(node->type_string(), &op_reg_data)); in AddNode() 250 "No shape inference function exists for op '", node->type_string(), in AddNode() 390 TF_RETURN_IF_ERROR(ops_registry_->LookUp(node->type_string(), &op_reg_data)); in UpdateNode() 394 "No shape inference function exists for op '", node->type_string(), in UpdateNode() 483 if (node->type_string() == "Shape") { in TryToInferTensorOutputFromInputShapes() 513 } else if (node->type_string() == "Rank") { in TryToInferTensorOutputFromInputShapes() 522 } else if (node->type_string() == "Size") { in TryToInferTensorOutputFromInputShapes() 561 if (target_node->type_string() == "PlaceholderWithDefault") { in ExtractConstantSubgraph() [all …]
|
D | placer.cc | 373 KernelsRegisteredForOp(node->type_string())); in GetDevicesForNode() 404 "Operation was ", node->type_string(), " and inputs were ", in GetDevicesForNode() 478 const string& op_type = node->type_string(); in DebugInfo() 537 node.type_string()); in InitializeMember() 551 "No OpKernel was registered to support Op '", node.type_string(), in InitializeMember() 555 KernelsRegisteredForOp(node.type_string())); in InitializeMember() 873 printf("%s: (%s): %s\n", node->name().c_str(), node->type_string().c_str(), in LogDeviceAssignment() 876 << "(" << node->type_string() << ")" in LogDeviceAssignment()
|
/external/tensorflow/tensorflow/core/kernels/hexagon/ |
D | graph_transferer.cc | 437 } else if (ops_definitions.GetOpIdFor(node.type_string(), {}) != in RegisterNode() 442 return errors::InvalidArgument(node.type_string() + in RegisterNode() 582 const StringPiece op_type(node.type_string()); in NeedsToAddRank() 590 const StringPiece op_type(node.type_string()); in IsPadNode() 600 if (node.type_string() != RESHAPE_NODE_TYPE_STRING) { in IsNodeFlattenReshape() 658 const int op_type_id = ops_definitions.GetOpIdFor(node.type_string(), {}); in RegisterNodeWithPaddingAndStrides() 660 << "Op " << node.type_string() << " not found in map(id = " << op_type_id in RegisterNodeWithPaddingAndStrides() 665 shape_refiner, node, node.name(), id, node.type_string(), op_type_id, in RegisterNodeWithPaddingAndStrides() 687 const int op_type_id = ops_definitions.GetOpIdFor(node.type_string(), {}); in RegisterNodeWithRank() 689 << "Op " << node.type_string() << " not found in map(id = " << op_type_id in RegisterNodeWithRank() [all …]
|
/external/adhd/cras/src/server/ |
D | cras_dbus_util.c | 9 int type, const char *type_string, in append_key_value() argument 20 type_string, &variant)) in append_key_value()
|
D | cras_dbus_util.h | 19 int type, const char *type_string,
|
/external/tensorflow/tensorflow/core/kernels/ |
D | decode_image_op.cc | 72 if (type_string() == "DecodeJpeg") { in DecodeImageOp() 74 } else if (type_string() == "DecodeAndCropJpeg") { in DecodeImageOp() 77 } else if (type_string() == "DecodePng") { in DecodeImageOp() 79 } else if (type_string() == "DecodeGif") { in DecodeImageOp() 83 errors::InvalidArgument("Bad op type ", type_string())); in DecodeImageOp()
|
/external/tensorflow/tensorflow/core/common_runtime/gpu/ |
D | gpu_stream_util.cc | 56 VLOG(2) << "Node " << node_id << " " << n->type_string() << " " in AssignStreams() 80 const string& op = n->type_string(); in AssignStreams()
|