Home
last modified time | relevance | path

Searched refs:inner_op (Results 1 – 8 of 8) sorted by relevance

/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dreplicate_invariant_op_hoisting.cc113 auto result = op->walk([&](Operation* inner_op) { in IsOpReplicateInvariant() argument
114 for (Value operand : inner_op->getOperands()) { in IsOpReplicateInvariant()
139 for (Operation& inner_op : in HoistReplicateInvariantOps()
141 if (llvm::isa<tf_device::ReturnOp>(inner_op)) continue; in HoistReplicateInvariantOps()
143 if (IsOpReplicateInvariant(replicate_region, &inner_op)) in HoistReplicateInvariantOps()
144 inner_op.moveBefore(replicate_op); in HoistReplicateInvariantOps()
Dgraph_pruning.cc58 op->walk([&](Operation* inner_op) { visit_op(inner_op); }); in PruneGraph() argument
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/translate/
Dcontrol_to_executor_dialect.cc222 Operation *inner_op = island_builder.createOperation(result); in runOnFunction() local
223 inner_op->setAttrs(op.getAttrList()); in runOnFunction()
226 SmallVector<Value, 8> ret_vals(inner_op->getResults()); in runOnFunction()
Dexport_graphdef.cc680 Operation& inner_op = island.GetBody().front(); in Convert() local
681 auto op_name = GetTensorFlowOpName(inner_op.getName().getStringRef()); in Convert()
691 if (IsLegacyCallInstruction(&inner_op)) { in Convert()
693 inner_op.getAttrOfType<mlir::SymbolRefAttr>("f") in Convert()
697 TF_RETURN_IF_ERROR(exporter.AddInstructionNode(&inner_op)); in Convert()
Dimport_model.cc1243 mlir::Operation* inner_op = &island_op.GetBody().front(); in ConvertFunctionArgAndRets() local
1247 if (inner_op->getNumOperands() != 1) in ConvertFunctionArgAndRets()
1249 inst_to_return.push_back(inner_op->getOperand(0)); in ConvertFunctionArgAndRets()
1445 mlir::Operation* inner_op; in createOperation() local
1460 inner_op = island_builder.create<mlir::TF::LegacyCallOp>( in createOperation()
1464 inner_op = island_builder.createOperation(result); in createOperation()
1467 if (inner_op->hasTrait<mlir::OpTrait::AttrSizedResultSegments>()) { in createOperation()
1490 inner_op->setAttr(attr_name, attr_value); in createOperation()
1495 inner_op->getResults()); in createOperation()
/external/python/cpython3/Lib/test/
Dtest_re.py1246 inner_op = inner_reps + inner_mod
1247 self.checkPatternError(r'x%s%s' % (inner_op, outer_op),
1248 'multiple repeat', 1 + len(inner_op))
1810 for inner_op in ('{0,}', '*', '?'):
1811 r = re.compile("^((x|y)%s)%s" % (inner_op, outer_op))
/external/python/cpython2/Lib/test/
Dtest_re.py1108 for inner_op in ('{0,}', '*', '?'):
1109 r = re.compile("^((x|y)%s)%s" % (inner_op, outer_op))
/external/python/cpython3/Python/
Dcompile.c3656 int single_op, int inner_op, int outer_op) in starunpack_helper() argument
3664 ADDOP_I(c, inner_op, nseen); in starunpack_helper()
3678 ADDOP_I(c, inner_op, nseen); in starunpack_helper()