Skip to content

Commit

Permalink
Fix an English writing typo.
Browse files Browse the repository at this point in the history
  • Loading branch information
Xreki committed May 14, 2018
1 parent fc1b1d5 commit 93215a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions paddle/fluid/operators/math/sequence2batch.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ class LoDTensor2BatchFunctor {
"sequence information.");
PADDLE_ENFORCE_EQ(
lods[1].size(), static_cast<size_t>(lod_tensor.dims()[0]),
"The LoD information should be consistant with the dims.");
"The LoD information should be consistent with the dims.");
CopyMatrixRowsFunctor<DeviceContext, T> to_batch;
to_batch(context, lod_tensor, lods[1], batch, true);
return;
Expand Down Expand Up @@ -166,7 +166,7 @@ class Batch2LoDTensorFunctor {
"sequence information.");
PADDLE_ENFORCE_EQ(
in_lod[1].size(), static_cast<size_t>(lod_tensor->dims()[0]),
"The LoD information should be consistant with the dims.");
"The LoD information should be consistent with the dims.");
CopyMatrixRowsFunctor<DeviceContext, T> to_seq;
to_seq(context, batch, in_lod[1], lod_tensor, false);
}
Expand Down

0 comments on commit 93215a3

Please sign in to comment.