From 4bb799d352641a5260f3b4f2150ad7d43b0be561 Mon Sep 17 00:00:00 2001 From: Zhao Wu Date: Fri, 27 Dec 2019 01:33:03 +0800 Subject: [PATCH] [Container] Fix NDArray SaveDLTensor declaration and implementation signature different (#4586) --- 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 993295179842..ceb05568ebea 100644 --- a/include/tvm/runtime/ndarray.h +++ b/include/tvm/runtime/ndarray.h @@ -228,7 +228,7 @@ struct array_type_info { * \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.