Home
last modified time | relevance | path

Searched refs:old_op (Results 1 – 6 of 6) 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,
73 Status OpDefAttrDefaultsUnchanged(const OpDef& old_op, const OpDef& new_op);
Dop_def_util.cc606 Status OpDefCompatible(const OpDef& old_op, const OpDef& new_op) { in OpDefCompatible() argument
610 "; old: ", SummarizeOpDef(old_op), \ in OpDefCompatible()
614 VALIDATE(old_op.name() == new_op.name(), "Name mismatch"); in OpDefCompatible()
617 FillAttrMap(old_op, &old_attrs); in OpDefCompatible()
619 for (const auto& old_attr : old_op.attr()) { in OpDefCompatible()
643 old_op.input_arg(), old_attrs, new_attrs, &old_in_ref, false /* names */); in OpDefCompatible()
657 ComputeArgSignature(old_op.output_arg(), old_attrs, new_attrs, in OpDefCompatible()
675 Status OpDefAddedDefaultsUnchanged(const OpDef& old_op, in OpDefAddedDefaultsUnchanged() argument
679 FillAttrMap(old_op, &old_attrs); in OpDefAddedDefaultsUnchanged()
714 Status OpDefAttrDefaultsUnchanged(const OpDef& old_op, const OpDef& new_op) { in OpDefAttrDefaultsUnchanged() argument
[all …]
/external/tensorflow/tensorflow/core/grappler/optimizers/
Dscoped_allocator_optimizer.cc360 NodeDef* old_op = ops[i]; in BuildSAConcatNode() local
361 for (const string& old_op_input : old_op->input()) { in BuildSAConcatNode()
374 << old_op->name() << " cannot build ScopedAllocator."; in BuildSAConcatNode()
376 old_op->name(), in BuildSAConcatNode()
382 VLOG(3) << "from op " << i << ": " << old_op->name() in BuildSAConcatNode()
475 NodeDef* old_op = ops[op_idx]; in RewireSubgraph() local
478 std::set<NodeDef*> output_nodes = node_map->GetOutputs(old_op->name()); in RewireSubgraph()
479 VLOG(3) << "old_op " << old_op->name() << " had " << output_nodes.size() in RewireSubgraph()
492 VLOG(3) << "Dropping control output from " << old_op->name() << " to " in RewireSubgraph()
496 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.c1172 const char *old_op; in e2fsck_pass1() local
1324 old_op = ehandler_operation(_("opening inode scan")); in e2fsck_pass1()
1327 ehandler_operation(old_op); in e2fsck_pass1()
1362 old_op = ehandler_operation(_("getting next inode from scan")); in e2fsck_pass1()
1367 ehandler_operation(old_op); in e2fsck_pass1()