You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by ma...@apache.org on 2019/10/27 19:31:45 UTC

[incubator-mxnet] branch master updated: fix bad encode (#16641)

This is an automated email from the ASF dual-hosted git repository.

marcoabreu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/master by this push:
     new 73c6b4a  fix bad encode (#16641)
73c6b4a is described below

commit 73c6b4a78f2a1f843dd136ad4a7eea7fd4323ea6
Author: Hu Shiwen <ya...@gmail.com>
AuthorDate: Mon Oct 28 03:31:07 2019 +0800

    fix bad encode (#16641)
---
 src/operator/contrib/allclose_op-inl.h | 4 ++--
 src/operator/numpy/np_einsum_op-inl.h  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/operator/contrib/allclose_op-inl.h b/src/operator/contrib/allclose_op-inl.h
index a858450..a10c779 100644
--- a/src/operator/contrib/allclose_op-inl.h
+++ b/src/operator/contrib/allclose_op-inl.h
@@ -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 NaN’s as equal. If True, NaN’s in A will be considered equal "
-                "to NaN’s 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.");
   }
 };
 
diff --git a/src/operator/numpy/np_einsum_op-inl.h b/src/operator/numpy/np_einsum_op-inl.h
index 0512807..d2f399b 100644
--- a/src/operator/numpy/np_einsum_op-inl.h
+++ b/src/operator/numpy/np_einsum_op-inl.h
@@ -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);