未验证 提交 e2b2f7d0 编写于 作者: W WangZhen 提交者: GitHub

Fix misspelled words in comments (#49366)

上级 f1072973
......@@ -550,7 +550,7 @@ void BindImperative(py::module *m_ptr) {
string::Sprintf("%s", array.dtype()).compare("object"),
0,
platform::errors::InvalidArgument(
"Faild to convert input data to a regular ndarray.\n * "
"Failed to convert input data to a regular ndarray.\n * "
"Usually this means the input data contains nested "
"lists with different lengths.\n * Check the reader "
"function passed to 'set_(sample/sample_list/batch)"
......@@ -590,7 +590,7 @@ void BindImperative(py::module *m_ptr) {
string::Sprintf("%s", array.dtype()).compare("object"),
0,
platform::errors::InvalidArgument(
"Faild to convert input data to a regular ndarray.\n * "
"Failed to convert input data to a regular ndarray.\n * "
"Usually this means the input data contains nested "
"lists with different lengths.\n * Check the reader "
"function passed to 'set_(sample/sample_list/batch)"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册