Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions cpp-package/include/mxnet-cpp/ndarray.h
Original file line number Diff line number Diff line change
Expand Up @@ -291,15 +291,15 @@ class NDArray {
*/
void SyncCopyToCPU(std::vector<mx_float> *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;
/*!
Expand Down