Skip to content

Commit

Permalink
[Container] Fix NDArray SaveDLTensor declaration and implementation s…
Browse files Browse the repository at this point in the history
…ignature different (apache#4586)
  • Loading branch information
FrozenGene authored and zhiics committed Dec 31, 2019
1 parent 24275a6 commit 4bb799d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/tvm/runtime/ndarray.h
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4bb799d

Please sign in to comment.