tvm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From liuyi...@apache.org
Subject [incubator-tvm] branch v0.6 updated: [BACKPORT-0.6] Fix NDArray SaveDLTensor declaration and implementation signature different (#5852)
Date Fri, 19 Jun 2020 16:58:26 GMT
This is an automated email from the ASF dual-hosted git repository.

liuyizhi pushed a commit to branch v0.6
in repository https://gitbox.apache.org/repos/asf/incubator-tvm.git


The following commit(s) were added to refs/heads/v0.6 by this push:
     new da1bc3d  [BACKPORT-0.6] Fix NDArray SaveDLTensor declaration and implementation signature
different (#5852)
da1bc3d is described below

commit da1bc3d93bdb4053150549caf6c35419ced97f7e
Author: Zhao Wu <zhaowu@apache.org>
AuthorDate: Sat Jun 20 00:58:14 2020 +0800

    [BACKPORT-0.6] Fix NDArray SaveDLTensor declaration and implementation signature different
(#5852)
---
 include/tvm/runtime/ndarray.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/tvm/runtime/ndarray.h b/include/tvm/runtime/ndarray.h
index 9932951..ceb0556 100644
--- a/include/tvm/runtime/ndarray.h
+++ b/include/tvm/runtime/ndarray.h
@@ -228,7 +228,7 @@ struct array_type_info<NDArray> {
  * \param strm The outpu stream
  * \param tensor The tensor to be saved.
  */
-inline bool SaveDLTensor(dmlc::Stream* strm, const DLTensor* tensor);
+inline bool SaveDLTensor(dmlc::Stream* strm, DLTensor* tensor);
 
 /*!
  * \brief Reference counted Container object used to back NDArray.


Mime
View raw message