Skip to content

Commit 7aa8b2c

Browse files
committed
optimize code
1 parent bad0c27 commit 7aa8b2c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

paddle/fluid/framework/selected_rows.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ struct TensorFillVisitor {
7070

7171
template <typename T>
7272
void apply() const {
73-
// TODO(Yancey1989): support other place
73+
// TODO(qiao): support other place
7474
platform::CPUPlace cpu;
7575
auto* tensor_data = dst_->mutable_data<T>(cpu);
7676
auto* start = tensor_data + dst_offset_;

paddle/fluid/operators/lookup_sparse_table_op.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class LookupSparseTableOpMaker : public framework::OpProtoAndCheckerMaker {
9494
.SetDefault(true);
9595
AddAttr<bool>("is_test",
9696
"In test mode, lookup_sparse_table will "
97-
"return a default value for unknown id")
97+
"return a 0 for unknown id")
9898
.SetDefault(false);
9999
AddComment(R"DOC(
100100
Lookup Sprase Tablel Operator.

0 commit comments

Comments
 (0)