/external/tensorflow/tensorflow/compiler/tf2xla/ |
D | xla_context.cc | 80 const string type_string = DataTypeString(type); in GetOrCreateMax() local 81 VLOG(1) << "Building Max() for " << type_string; in GetOrCreateMax() 82 xla::XlaBuilder b("max<" + type_string + ">"); in GetOrCreateMax() 96 const string type_string = DataTypeString(type); in GetOrCreateMin() local 97 VLOG(1) << "Building Min() for " << type_string; in GetOrCreateMin() 98 xla::XlaBuilder b("min<" + type_string + ">"); in GetOrCreateMin() 112 const string type_string = DataTypeString(type); in GetOrCreateAdd() local 113 VLOG(1) << "Building Add() for " << type_string; in GetOrCreateAdd() 114 xla::XlaBuilder b("add<" + type_string + ">"); in GetOrCreateAdd() 128 const string type_string = DataTypeString(type); in GetOrCreateMul() local [all …]
|
D | const_analysis.cc | 57 if (XlaOpRegistry::IsMetadataOp(node->type_string())) { in BackwardsConstAnalysis() 64 if (node->type_string() == "_Arg") { in BackwardsConstAnalysis() 80 pred->src()->type_string() == "IdentityN") { in BackwardsConstAnalysis() 110 edge->src()->type_string() == "IdentityN") { in BackwardsConstAnalysis() 131 if (node->type_string() != "While") { in GetCompileTimeConstInputs()
|
D | side_effect_util.cc | 36 if (node->type_string() == "_XlaRecvAtHost" || in SetDeviceOrdinalAttributeForNode() 37 node->type_string() == "_XlaSendFromHost") { in SetDeviceOrdinalAttributeForNode() 40 } else if (node->type_string() == "If") { in SetDeviceOrdinalAttributeForNode() 51 } else if (node->type_string() == "While") { in SetDeviceOrdinalAttributeForNode()
|
D | functionalize_control_flow.cc | 119 if (n->type_string() == "Switch" || n->type_string() == "Merge") { in FunctionalizeControlFlowForFunction() 257 auto it = kNodeTypeToFunctionAttrMapping->find(n->type_string()); in Run() 264 VLOG(2) << "Graph has node " << n->type_string() in Run()
|
/external/tensorflow/tensorflow/core/graph/ |
D | mkl_layout_pass.cc | 822 << n->type_string() << ", reason: " << reason; in CanOpRunOnCPUDevice() 870 if (m->type_string() == csinfo_.bias_add) { in GetConv2DOrBiasAdd() 874 CHECK_EQ(m->type_string(), csinfo_.conv2d); in GetConv2DOrBiasAdd() 879 e->dst()->type_string() == csinfo_.bias_add && in GetConv2DOrBiasAdd() 911 if (m->type_string() == csinfo_.pad) { in GetPadOrConv2D() 914 if (!e->IsControlEdge() && e->dst()->type_string() == csinfo_.conv2d) { in GetPadOrConv2D() 921 DCHECK_EQ(m->type_string(), csinfo_.conv2d); in GetPadOrConv2D() 925 if (!e->IsControlEdge() && e->src()->type_string() == csinfo_.pad) { in GetPadOrConv2D() 960 if (m->type_string() == csinfo_.pad) { in GetPadOrFusedConv2D() 964 e->dst()->type_string() == csinfo_.fused_conv2d) { in GetPadOrFusedConv2D() [all …]
|
D | mkl_tfconversion_pass.cc | 200 << src->type_string() << " and " << dst->type_string() in InsertConversionNodeOnEdge() 287 << "conversion node on: " << n->type_string() << " successful."; in InsertInputConversionNode() 323 if (src->type_string().compare("_MklToTf") == 0 || in RunPass() 324 dst->type_string().compare("_MklToTf") == 0) { in RunPass() 329 << src->type_string() << " and " << dst->type_string(); in RunPass() 338 IsMklSupportedOp(src->type_string(), src_datatype)); in RunPass() 341 IsMklSupportedOp(dst->type_string(), dst_datatype)); in RunPass() 381 if (IsMklElementWiseOp(n->type_string(), datatype)) { in RunPass() 387 (input_node->type_string().compare("_MklInputConversion") == 0)) { in RunPass()
|
D | optimizer_cse.cc | 93 string str_to_hash = strings::StrCat(n->type_string(), out.size()); in NodeHash() 135 if (a->type_string() != b->type_string()) return false; in Equivalent() 193 if (n->type_string() == "Placeholder" || in Optimize() 194 n->type_string() == "PlaceholderV2" || in Optimize() 195 n->type_string() == "PlaceholderWithDefault") { in Optimize()
|
/external/mesa3d/src/mapi/glapi/gen/ |
D | glX_proto_recv.py | 200 t = param.type_string() 267 type_string = param.type_string() 272 …rint '%s %s const %s = (%s) (%s(pc + %s));' % (indent, type_string, param.name, type_string, co… 282 print '%s const %s %s = %s;' % (indent, type_string, param.name, location) 287 print '%s %s %s = %s%s;' % (indent, type_string, param.name, cond, location) 289 print '%s %s %s;' % (indent, type_string, param.name) 342 … print ' %s = (%s) (pc + %s); break;' % (param.name, param.type_string(), o) 345 … %s = (%s) %s( (%s *) (pc + %s), %s ); break;' % (param.name, param.type_string(), swap_func, s… 352 …print ' %s = (%s) %s( (%s *) (pc + %s), %s );' % (param.name, param.type_string(), swap_func, s… 359 … print '%s %s = (%s) (pc + %s);' % (indent, param.name, param.type_string(), param.offset) [all …]
|
D | typeexpr.py | 114 def __init__(self, type_string, extra_types = None): argument 117 if not type_string: 120 self.original_string = type_string 127 tokens = string.split( string.replace( type_string, "*", " * " ) )
|
/external/tensorflow/tensorflow/compiler/jit/ |
D | mark_for_compilation_pass.cc | 121 if (node.type_string() == "SymbolicGradient") return false; in HasXLAKernel() 122 if (node.type_string() == "Const") { in HasXLAKernel() 159 const XlaResourceOpInfo* op_info = GetResourceOpInfoForOp(node.type_string()); in IsNonResourceVarResourceOp() 257 if (node->type_string() == "_Arg" || node->type_string() == "_Retval") in IsCompilableCall() 259 if (node->type_string() == "While") { in IsCompilableCall() 269 IsStatefulRandomOp(node->type_string())) { in IsCompilableCall() 275 if (!op_filter.allow_dummy_ops && IsDummyImplOp(node->type_string())) { in IsCompilableCall() 494 << device_type.type_string(); in FindCompilationCandidates() 520 << node->type_string(); in FindCompilationCandidates() 525 IsStatefulRandomOp(node->type_string())) { in FindCompilationCandidates() [all …]
|
D | xla_fusion_optimizer.cc | 41 return node.type_string() == "Shape" || node.type_string() == "ShapeN" || in IsShapeConsumerOp() 42 node.type_string() == "Rank" || node.type_string() == "Size"; in IsShapeConsumerOp() 179 if (device_type.type_string().find("XLA") != string::npos) continue; in Optimize() 258 node_from->type_string()); in Optimize()
|
D | encapsulate_xla_computations_pass.cc | 76 return errors::InvalidArgument("Invalid ", n.type_string(), " number ", in GetIndexAttr() 127 if (n->type_string() == "_Arg") { in RewriteSubgraph() 134 } else if (n->type_string() == "_Retval") { in RewriteSubgraph() 220 e->dst()->type_string() != kXlaClusterOutput) { in Encapsulate() 307 TF_RET_CHECK(output_node->type_string() == kXlaClusterOutput) in BuildXlaLaunchOps() 336 function.set_name(launch->type_string()); in BuildXlaLaunchOps()
|
/external/v8/tools/turbolizer/src/ |
D | node.ts | 110 var type_string = this.type; 111 if (type_string == undefined) return ""; 112 if (type_string.length > 24) { 113 type_string = type_string.substr(0, 25) + "..."; 115 return type_string;
|
/external/tensorflow/tensorflow/tools/graph_transforms/ |
D | strip_unused_nodes.cc | 43 const string& type_string = context.params.at("type")[0]; in TypeForPlaceholder() local 44 if (!DataTypeFromString(type_string, result)) { in TypeForPlaceholder() 46 type_string, "'"); in TypeForPlaceholder() 64 const string& type_string = context.params.at("type_for_name")[i]; in TypeForPlaceholder() local 65 if (!DataTypeFromString(type_string, result)) { in TypeForPlaceholder() 67 type_string, "'"); in TypeForPlaceholder()
|
/external/tensorflow/tensorflow/core/framework/ |
D | op_def_builder.cc | 126 bool ProcessCompoundType(const StringPiece type_string, AttrValue* allowed) { in ProcessCompoundType() argument 127 if (type_string == "numbertype" || type_string == "numerictype") { in ProcessCompoundType() 131 } else if (type_string == "quantizedtype") { in ProcessCompoundType() 135 } else if (type_string == "realnumbertype" || in ProcessCompoundType() 136 type_string == "realnumerictype") { in ProcessCompoundType() 159 StringPiece type_string; // Used if type == "type" in FinalizeAttr() local 176 } else if (ConsumeCompoundAttrType(&spec, &type_string)) { in FinalizeAttr() 179 VERIFY(ProcessCompoundType(type_string, allowed), in FinalizeAttr() 180 "Expected to see a compound type, saw: ", type_string); in FinalizeAttr() 211 VERIFY(ConsumeAttrType(&spec, &type_string), in FinalizeAttr() [all …]
|
D | dataset.cc | 194 const string& type_string = dataset->type_string(); in AddDataset() local 199 bool has_output_types_attr = HasAttr(type_string, "output_types"); in AddDataset() 200 bool has_output_shapes_attr = HasAttr(type_string, "output_shapes"); in AddDataset() 217 NodeBuilder node_builder(opts->GetNameForOp(type_string), type_string, in AddDataset() 243 return errors::Internal("AddDataset: Failed to build ", type_string, in AddDataset()
|
/external/tensorflow/tensorflow/compiler/tf2xla/kernels/ |
D | conv_op_helpers.h | 56 xla::StatusOr<xla::XlaOp> MakeXlaForwardConvOp(StringPiece type_string, 61 StringPiece type_string, const xla::Shape& input_shape, xla::XlaOp filter, 64 StringPiece type_string, xla::XlaOp activations,
|
D | conv_ops.cc | 55 ctx->op_kernel().type_string(), ctx->Input(0), ctx->Input(1), attrs_); in Compile() 107 MakeXlaBackpropInputConvOp(ctx->op_kernel().type_string(), input_shape, in Compile() 165 ctx->op_kernel().type_string(), ctx->Input(0), filter_shape, in Compile()
|
/external/tensorflow/tensorflow/core/common_runtime/ |
D | lower_if_while.cc | 76 if (n->type_string() == "If") { in Run() 78 } else if (n->type_string() == "While") { in Run() 82 "Node ", FormatNodeForError(*n), " of type ", n->type_string(), in Run()
|
D | eval_const_tensor.cc | 48 if (node->type_string() == "Shape") { in TryToInferTensorOutputFromInputShapes() 78 } else if (node->type_string() == "Rank") { in TryToInferTensorOutputFromInputShapes() 87 } else if (node->type_string() == "Size") { in TryToInferTensorOutputFromInputShapes() 142 if (target_node.type_string() == "PlaceholderWithDefault") { in ExtractConstantSubgraph() 212 if (current_node->type_string() == "PlaceholderWithDefault") { in ExtractConstantSubgraph()
|
D | colocation_graph.cc | 363 return a.first.type_string() < b.first.type_string(); in MergeSupportedDevices() 787 KernelsRegisteredForOp(node->type_string())); in GetDevicesForNode() 820 "Operation was ", node->type_string(), " and inputs were ", in GetDevicesForNode() 881 const string& op_type = node->type_string(); in DebugInfo() 897 strings::StrAppend(&text, "\n ", node->name(), " (", node->type_string(), in DebugInfo() 945 node.assigned_device_name(), node.type_string(), true, member)); in InitializeMember() 966 "No OpKernel was registered to support Op '", node.type_string(), in InitializeMember() 972 "Registered kernels:\n", KernelsRegisteredForOp(node.type_string())); in InitializeMember() 982 node.requested_device(), node.type_string(), false, member)); in InitializeMember()
|
/external/tensorflow/tensorflow/core/kernels/hexagon/ |
D | graph_transferer.cc | 444 } else if (ops_definitions.GetOpIdFor(node.type_string(), {}) != in RegisterNode() 449 return errors::InvalidArgument(node.type_string() + in RegisterNode() 589 const StringPiece op_type(node.type_string()); in NeedsToAddRank() 597 const StringPiece op_type(node.type_string()); in IsPadNode() 607 if (node.type_string() != RESHAPE_NODE_TYPE_STRING) { in IsNodeFlattenReshape() 665 const int op_type_id = ops_definitions.GetOpIdFor(node.type_string(), {}); in RegisterNodeWithPaddingAndStrides() 667 << "Op " << node.type_string() << " not found in map(id = " << op_type_id in RegisterNodeWithPaddingAndStrides() 672 shape_refiner, node, node.name(), id, node.type_string(), op_type_id, in RegisterNodeWithPaddingAndStrides() 694 const int op_type_id = ops_definitions.GetOpIdFor(node.type_string(), {}); in RegisterNodeWithRank() 696 << "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()
|
/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/grappler/optimizers/data/vectorization/ |
D | decode_csv_vectorizer.cc | 40 auto node_builder = NodeBuilder(node.type_string(), node.type_string()) in Vectorize()
|