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

Commit

Permalink
Avoid UnicodeDecodeError in method doc on Windows (#20215)
Browse files Browse the repository at this point in the history
Co-authored-by: Tom Shen <[email protected]>
  • Loading branch information
sjiagc and Tom Shen authored Apr 26, 2021
1 parent e8ad36a commit 2940148
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -1663,7 +1663,7 @@ Note: this feature is still experimental, for more details, refer to [design doc

#### Python
* Python BucketingModule bind() with grad_req = 'add' (#13984)
* Refine runtime feature discovery python API and add documentation to (#14130)
* Refine runtime feature discovery python API and add documentation to ... (#14130)
* Runtime feature detection (#13549)
* Add dtype visualization to plot_network (#14066)
* [MXNET-1359] Adds a multiclass-MCC metric derived from Pearson (#14461)
Expand Down Expand Up @@ -2187,7 +2187,7 @@ Note: this feature is still experimental, for more details, refer to [design doc
* Fix crash in random.shuffle operator (#15041)
* [MXNET-1406] [BUG] Fix DLManagedTensor deleter (#15016)
* Fixes lint issue in AMP (#15015)
* Fixed issue where the estimator was printing beyond the dataset size (#14464)
* Fixed issue where the estimator was printing beyond the dataset size ... (#14464)
* Fixes cuDNN version for CUDA 9.0 build environment (#15001)
* Fix the incorrect MKLDNN/MKL logic in cmake (#14877)
* Fixed and re-enables TensorRT steps (#14960)
Expand Down
10 changes: 5 additions & 5 deletions src/operator/numpy/np_pad_op-inl.h
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ struct NumpyPadParam : public dmlc::Parameter<NumpyPadParam> {
DMLC_DECLARE_PARAMETER(NumpyPadParam) {
DMLC_DECLARE_FIELD(pad_width)
.describe("Number of values padded to the edges of each axis. "
"((before_1, after_1), (before_N,"
"((before_1, after_1), ... (before_N,"
"after_N)) unique pad widths for each axis. ((before, after),) "
"yields same before and"
"after pad for each axis. "
Expand Down Expand Up @@ -128,7 +128,7 @@ struct NumpyPadParam : public dmlc::Parameter<NumpyPadParam> {
"vector along each axis.");
DMLC_DECLARE_FIELD(constant_values)
.set_default(0.0)
.describe("Used in constant. The values to set the padded values for each axis."
.describe("Used in 'constant'. The values to set the padded values for each axis."
"((before_1, after_1), ... (before_N, after_N)) unique pad constants for"
"each axis."
"((before, after),) yields same before and after constants for each axis."
Expand All @@ -137,9 +137,9 @@ struct NumpyPadParam : public dmlc::Parameter<NumpyPadParam> {
"Default is 0.");
DMLC_DECLARE_FIELD(reflect_type)
.set_default("even")
.describe("Used in reflect, and symmetric. "
"The even style is the default with an unaltered reflection around "
"the edge value. For the odd style,"
.describe("Used in 'reflect', and 'symmetric'. "
"The 'even' style is the default with an unaltered reflection around "
"the edge value. For the 'odd' style,"
"the extended part of the array is created by subtracting the "
"reflected values from two times the edge value.");
}
Expand Down

0 comments on commit 2940148

Please sign in to comment.