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.