From e2b2f7d0166e435680eb4a98b3dd14f2ebe6c260 Mon Sep 17 00:00:00 2001 From: WangZhen <23097963+0x45f@users.noreply.github.com> Date: Wed, 28 Dec 2022 10:40:03 +0800 Subject: [PATCH] Fix misspelled words in comments (#49366) --- paddle/fluid/pybind/imperative.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/fluid/pybind/imperative.cc b/paddle/fluid/pybind/imperative.cc index ba18e32f1d..a579003a00 100644 --- a/paddle/fluid/pybind/imperative.cc +++ b/paddle/fluid/pybind/imperative.cc @@ -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)" -- GitLab