Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
fix bad encode (#16641)
Browse files Browse the repository at this point in the history
  • Loading branch information
yajiedesign authored and marcoabreu committed Oct 27, 2019
1 parent 9f21cdd commit 73c6b4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/operator/contrib/allclose_op-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ struct AllCloseParam : public dmlc::Parameter<AllCloseParam> {
.describe("Absolute tolerance.");
DMLC_DECLARE_FIELD(equal_nan)
.set_default(true)
.describe("Whether to compare NaNs as equal. If True, NaNs in A will be considered equal "
"to NaNs in B in the output array.");
.describe("Whether to compare NaN's as equal. If True, NaN's in A will be considered equal "
"to NaN's in B in the output array.");
}
};

Expand Down
2 changes: 1 addition & 1 deletion src/operator/numpy/np_einsum_op-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ struct NumpyEinsumParam: public dmlc::Parameter<NumpyEinsumParam> {
.set_default("")
.describe("Specifies the subscripts for summation as comma separated list"
" of subscript labels. An implicit (classical Einstein summation) calculation"
" is performed unless the explicit indicator ‘->’ is included as well as"
" is performed unless the explicit indicator '->' is included as well as"
" subscript labels of the precise output form.");
DMLC_DECLARE_FIELD(optimize)
.set_default(0);
Expand Down

0 comments on commit 73c6b4a

Please sign in to comment.