From 34174e86f4f86d116696f35d03a3721b09fbd3c8 Mon Sep 17 00:00:00 2001 From: chsin Date: Thu, 8 Mar 2018 14:39:48 -0500 Subject: [PATCH] comments to copy and copyto are corrected --- cpp-package/include/mxnet-cpp/ndarray.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/cpp-package/include/mxnet-cpp/ndarray.h b/cpp-package/include/mxnet-cpp/ndarray.h index 082c06981cf9..1166643e4e8a 100644 --- a/cpp-package/include/mxnet-cpp/ndarray.h +++ b/cpp-package/include/mxnet-cpp/ndarray.h @@ -291,15 +291,15 @@ class NDArray { */ void SyncCopyToCPU(std::vector *data, size_t size = 0); /*! - * \brief Copy the content of current array to other. - * \param other the new context of this NDArray - * \return the new copy + * \brief copy the content of current array to a target array. + * \param other the target NDArray + * \return the target NDarray */ NDArray CopyTo(NDArray * other) const; /*! - * \brief return a new copy this NDArray - * \param other the target NDArray - * \return the copy target NDarray + * \brief return a new copy to this NDArray + * \param Context the new context of this NDArray + * \return the new copy */ NDArray Copy(const Context &) const; /*!