/external/tensorflow/tensorflow/contrib/copy_graph/python/util/ |
D | copy_elements.py | 169 new_op = copy_op_to_graph(op, to_graph, variables, scope) 171 new_tensor = new_op.outputs[output_index] 217 new_op = ops.Operation(new_node_def, to_graph, new_inputs, output_types, 221 to_graph._record_op_seen_by_control_dependencies(new_op) 224 new_op._set_device(device_function(new_op)) 227 return new_op
|
/external/tensorflow/tensorflow/lite/toco/ |
D | export_tensorflow.cc | 1617 tensorflow::NodeDef* new_op = tensorflow_graph->add_node(); in ConvertSpaceToBatchNDOperator() local 1618 new_op->set_op("SpaceToBatchND"); in ConvertSpaceToBatchNDOperator() 1619 new_op->set_name(src_op.outputs[0]); in ConvertSpaceToBatchNDOperator() 1621 *new_op->add_input() = src_op.inputs[0]; in ConvertSpaceToBatchNDOperator() 1622 *new_op->add_input() = src_op.inputs[1]; in ConvertSpaceToBatchNDOperator() 1623 *new_op->add_input() = src_op.inputs[2]; in ConvertSpaceToBatchNDOperator() 1626 (*new_op->mutable_attr())["T"].set_type(params_type); in ConvertSpaceToBatchNDOperator() 1627 (*new_op->mutable_attr())["Tblock_shape"].set_type(DT_INT32); in ConvertSpaceToBatchNDOperator() 1628 (*new_op->mutable_attr())["Tpaddings"].set_type(DT_INT32); in ConvertSpaceToBatchNDOperator() 1634 tensorflow::NodeDef* new_op = tensorflow_graph->add_node(); in ConvertBatchToSpaceNDOperator() local [all …]
|
/external/tensorflow/tensorflow/contrib/graph_editor/ |
D | select.py | 441 for new_op in new_t.consumers(): 442 if new_op not in result and is_within(new_op): 443 new_wave.add(new_op) 445 for new_op in control_outputs.get(op): 446 if new_op not in result and is_within(new_op): 447 new_wave.add(new_op) 514 for new_op in op.control_inputs: 515 if new_op not in result and is_within(new_op): 516 new_wave.add(new_op)
|
/external/fonttools/Lib/fontTools/cffLib/ |
D | specializer.py | 460 new_op = None 465 new_op = op1 468 new_op = 'rlinecurve' 470 new_op = 'rcurveline' 473 new_op = op2 476 new_op = op1 490 new_op = 'r'+d+'curveto' 494 new_op = d0+'r'+'curveto' 498 new_op = d0+d+'curveto' 502 if new_op and len(args1) + len(args2) < maxstack: [all …]
|
/external/tensorflow/tensorflow/lite/toco/tflite/ |
D | import.cc | 118 std::unique_ptr<Operator> new_op = nullptr; in ImportOperators() local 124 new_op = ops_by_name.at(effective_opname) in ImportOperators() 127 if (new_op->type == OperatorType::kUnsupported) { in ImportOperators() 129 static_cast<TensorFlowUnsupportedOperator*>(new_op.get()); in ImportOperators() 138 new_op = ops_by_name.at(opname)->Deserialize(input_op->builtin_options(), in ImportOperators() 141 model->operators.emplace_back(new_op.release()); in ImportOperators()
|
/external/pdfium/core/fpdfapi/page/ |
D | cpdf_psengine_unittest.cpp | 46 PDF_PSOP new_op = new_psop->GetOp(); in TEST() local 47 EXPECT_EQ(kTestData[i].op, new_op); in TEST() 48 if (new_op == PSOP_CONST) { in TEST()
|
/external/tensorflow/tensorflow/core/framework/ |
D | op_def_util.h | 62 Status OpDefCompatible(const OpDef& old_op, const OpDef& new_op); 69 const OpDef& new_op); 73 Status OpDefAttrDefaultsUnchanged(const OpDef& old_op, const OpDef& new_op);
|
D | op_def_util.cc | 606 Status OpDefCompatible(const OpDef& old_op, const OpDef& new_op) { in OpDefCompatible() argument 611 "; new: ", SummarizeOpDef(new_op)); \ in OpDefCompatible() 614 VALIDATE(old_op.name() == new_op.name(), "Name mismatch"); in OpDefCompatible() 618 FillAttrMap(new_op, &new_attrs); in OpDefCompatible() 634 for (const auto& new_attr : new_op.attr()) { in OpDefCompatible() 645 new_op.input_arg(), old_attrs, new_attrs, &new_in_ref, false /* names */); in OpDefCompatible() 660 ComputeArgSignature(new_op.output_arg(), old_attrs, new_attrs, in OpDefCompatible() 677 const OpDef& new_op) { in OpDefAddedDefaultsUnchanged() argument 680 FillAttrMap(new_op, &new_attrs); in OpDefAddedDefaultsUnchanged() 692 "' in op: ", SummarizeOpDef(new_op)); in OpDefAddedDefaultsUnchanged() [all …]
|
/external/tensorflow/tensorflow/python/framework/ |
D | importer.py | 236 …for new_op in graph._add_new_tf_operations(compute_devices=False): # pylint: disable=protected-ac… 237 original_device = new_op.device 238 new_op._set_device('') # pylint: disable=protected-access 239 colocation_names = _GetColocationNames(new_op) 241 colocation_pairs[new_op] = colocation_names 248 graph._apply_device_functions(new_op) # pylint: disable=protected-access
|
/external/mesa3d/src/compiler/glsl/ |
D | opt_algebraic.cpp | 434 enum ir_expression_operation new_op = ir_unop_logic_not; in handle_expression() local 440 case ir_binop_less: new_op = ir_binop_gequal; break; in handle_expression() 441 case ir_binop_gequal: new_op = ir_binop_less; break; in handle_expression() 442 case ir_binop_equal: new_op = ir_binop_nequal; break; in handle_expression() 443 case ir_binop_nequal: new_op = ir_binop_equal; break; in handle_expression() 444 case ir_binop_all_equal: new_op = ir_binop_any_nequal; break; in handle_expression() 445 case ir_binop_any_nequal: new_op = ir_binop_all_equal; break; in handle_expression() 453 if (new_op != ir_unop_logic_not) { in handle_expression() 454 return new(mem_ctx) ir_expression(new_op, in handle_expression()
|
/external/tensorflow/tensorflow/python/distribute/ |
D | input_ops.py | 99 new_op = g.create_op( 105 remap_dict[op_to_clone] = new_op
|
/external/tensorflow/tensorflow/core/grappler/optimizers/ |
D | arithmetic_optimizer.cc | 1362 string new_op; in TrySimplify() local 1364 new_op = "NotEqual"; in TrySimplify() 1366 new_op = "Equal"; in TrySimplify() 1368 new_op = "GreaterEqual"; in TrySimplify() 1370 new_op = "Greater"; in TrySimplify() 1372 new_op = "LessEqual"; in TrySimplify() 1374 new_op = "Less"; in TrySimplify() 1376 if (!new_op.empty()) { in TrySimplify() 1377 input->set_op(new_op); in TrySimplify() 2204 NodeDef* new_op = AddCopyNode(optimized_node_name, node); in TrySimplify() local [all …]
|
/external/grpc-grpc/src/core/ext/transport/cronet/transport/ |
D | cronet_transport.cc | 317 struct op_and_state* new_op = static_cast<struct op_and_state*>( in add_to_storage() local 319 memcpy(&new_op->op, op, sizeof(grpc_transport_stream_op_batch)); in add_to_storage() 320 memset(&new_op->state, 0, sizeof(new_op->state)); in add_to_storage() 321 new_op->s = s; in add_to_storage() 322 new_op->done = false; in add_to_storage() 324 new_op->next = storage->head; in add_to_storage() 325 storage->head = new_op; in add_to_storage() 334 CRONET_LOG(GPR_DEBUG, "adding new op %p. %d in the queue.", new_op, in add_to_storage()
|
/external/tensorflow/tensorflow/python/ops/ |
D | variables.py | 2379 new_op = op_cache.get(op.name) 2380 if new_op is None: 2381 new_op = _safe_initial_value_from_op(name, op, op_cache) 2382 op_cache[op.name] = new_op 2383 return new_op.outputs[tensor.value_index]
|
D | nn_ops.py | 470 new_op = _WithSpaceToBatch( 478 return new_op(input, None)
|
/external/v8/src/compiler/ |
D | node-properties.h | 114 static void ChangeOp(Node* node, const Operator* new_op);
|
D | node-properties.cc | 251 void NodeProperties::ChangeOp(Node* node, const Operator* new_op) { in ChangeOp() argument 252 node->set_op(new_op); in ChangeOp()
|
D | raw-machine-assembler.cc | 505 const Operator* new_op = common()->ResizeMergeOrPhi(op, phi->InputCount()); in AppendPhiInput() local 507 NodeProperties::ChangeOp(phi, new_op); in AppendPhiInput()
|
D | js-typed-lowering.cc | 2102 const Operator* new_op = in ReduceJSGeneratorRestoreContext() local 2107 DCHECK(!OperatorProperties::HasContextInput(new_op)); in ReduceJSGeneratorRestoreContext() 2110 NodeProperties::ChangeOp(node, new_op); in ReduceJSGeneratorRestoreContext() 2142 const Operator* new_op = simplified()->LoadField(input_or_debug_pos_field); in ReduceJSGeneratorRestoreInputOrDebugPos() local 2146 DCHECK(!OperatorProperties::HasContextInput(new_op)); in ReduceJSGeneratorRestoreInputOrDebugPos() 2149 NodeProperties::ChangeOp(node, new_op); in ReduceJSGeneratorRestoreInputOrDebugPos()
|
D | simplified-lowering.cc | 174 void ChangeToPureOp(Node* node, const Operator* new_op) { in ChangeToPureOp() argument 175 DCHECK(new_op->HasProperty(Operator::kPure)); in ChangeToPureOp() 182 node->TrimInputCount(new_op->ValueInputCount()); in ChangeToPureOp() 186 NodeProperties::ChangeOp(node, new_op); in ChangeToPureOp()
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | upgrade_memory_model.cpp | 615 GLSLstd450 new_op = is_modf ? GLSLstd450ModfStruct : GLSLstd450FrexpStruct; in UpgradeExtInst() local 616 ext_inst->SetOperand(3u, {static_cast<uint32_t>(new_op)}); in UpgradeExtInst()
|
/external/tensorflow/tensorflow/python/ops/parallel_for/ |
D | pfor.py | 1312 new_op = _create_op(y_op.type, [x.t for x in converted_inputs], 1316 new_outputs = new_op 1318 new_outputs = [wrap(x, False) for x in new_op.outputs]
|