Home
last modified time | relevance | path

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

/external/tensorflow/tensorflow/core/framework/
Dop_compatibility_test.cc222 OpRegistrationData old_op; in TEST_F() local
224 OpDefBuilder("AddAttr").Output("ndef: string").Finalize(&old_op)); in TEST_F()
225 TF_ASSERT_OK(NodeDefBuilder("add_attr", &old_op.op_def).Finalize(node_def())); in TEST_F()
226 ExpectSuccess(old_op.op_def); in TEST_F()
235 OpRegistrationData old_op; in TEST_F() local
239 .Finalize(&old_op)); in TEST_F()
240 TF_ASSERT_OK(NodeDefBuilder("less_strict", &old_op.op_def) in TEST_F()
243 ExpectSuccess(old_op.op_def); in TEST_F()
253 OpRegistrationData old_op; in TEST_F() local
257 .Finalize(&old_op)); in TEST_F()
[all …]
Dop_def_util.h62 Status OpDefCompatible(const OpDef& old_op, const OpDef& new_op);
67 Status OpDefAddedDefaultsUnchanged(const OpDef& old_op,
74 Status OpDefAttrDefaultsUnchanged(const OpDef& old_op, const OpDef& new_op);
Dop_def_util.cc620 Status OpDefCompatible(const OpDef& old_op, const OpDef& new_op) { in OpDefCompatible() argument
624 "; old: ", SummarizeOpDef(old_op), \ in OpDefCompatible()
628 VALIDATE(old_op.name() == new_op.name(), "Name mismatch"); in OpDefCompatible()
631 FillAttrMap(old_op, &old_attrs); in OpDefCompatible()
633 for (const auto& old_attr : old_op.attr()) { in OpDefCompatible()
657 old_op.input_arg(), old_attrs, new_attrs, &old_in_ref, false /* names */); in OpDefCompatible()
671 ComputeArgSignature(old_op.output_arg(), old_attrs, new_attrs, in OpDefCompatible()
689 Status OpDefAddedDefaultsUnchanged(const OpDef& old_op, in OpDefAddedDefaultsUnchanged() argument
693 FillAttrMap(old_op, &old_attrs); in OpDefAddedDefaultsUnchanged()
728 Status OpDefAttrDefaultsUnchanged(const OpDef& old_op, const OpDef& new_op) { in OpDefAttrDefaultsUnchanged() argument
[all …]
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dscoped_allocator_optimizer.cc608 NodeDef* old_op = ops[i]; in BuildSAConcatNode() local
609 for (const string& old_op_input : old_op->input()) { in BuildSAConcatNode()
622 << old_op->name() << " cannot build ScopedAllocator."; in BuildSAConcatNode()
624 old_op->name(), in BuildSAConcatNode()
630 VLOG(3) << "from op " << i << ": " << old_op->name() in BuildSAConcatNode()
729 NodeDef* old_op = ops[op_idx]; in RewireSubgraph() local
732 auto output_nodes = node_map->GetOutputs(old_op->name()); in RewireSubgraph()
733 VLOG(3) << "old_op " << old_op->name() << " had " << output_nodes.size() in RewireSubgraph()
746 VLOG(3) << "Dropping control output from " << old_op->name() << " to " in RewireSubgraph()
750 Status ignore = RemoveEdge(strings::StrCat("^", old_op->name()), in RewireSubgraph()
[all …]
/external/e2fsprogs/e2fsck/
Dutil.c311 const char *old_op; in e2fsck_read_bitmaps() local
322 old_op = ehandler_operation(_("reading inode and block bitmaps")); in e2fsck_read_bitmaps()
331 ehandler_operation(old_op); in e2fsck_read_bitmaps()
344 const char *old_op; in e2fsck_write_bitmaps() local
346 old_op = ehandler_operation(_("writing block and inode bitmaps")); in e2fsck_write_bitmaps()
348 ehandler_operation(old_op); in e2fsck_write_bitmaps()
Dpass1.c1174 const char *old_op; in e2fsck_pass1() local
1327 old_op = ehandler_operation(_("opening inode scan")); in e2fsck_pass1()
1330 ehandler_operation(old_op); in e2fsck_pass1()
1367 old_op = ehandler_operation(_("getting next inode from scan")); in e2fsck_pass1()
1372 ehandler_operation(old_op); in e2fsck_pass1()
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/transforms/
Dlegalize_hlo.cc542 Value ConvertDotOp(PatternRewriter &rewriter, Operation *old_op) { in ConvertDotOp() argument
543 auto dot_op = cast<mhlo::DotOp>(old_op); in ConvertDotOp()
559 Value ConvertDotGeneralOp(PatternRewriter &rewriter, Operation *old_op) { in ConvertDotGeneralOp() argument
560 auto dot_general_op = cast<mhlo::DotGeneralOp>(old_op); in ConvertDotGeneralOp()
1170 Value ConvertPadOp(PatternRewriter &rewriter, Operation *old_op) { in ConvertPadOp() argument
1171 auto pad_op = cast<mhlo::PadOp>(old_op); in ConvertPadOp()
Dtensor_array_ops_decomposition.cc178 Operation* old_op = old_val.getDefiningOp(); in ReplaceAllUsesExceptTerminator() local
180 old_op->getParentOfType<FuncOp>().front().getTerminator(); in ReplaceAllUsesExceptTerminator()