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 (#4586)
  • Loading branch information
FrozenGene authored and tqchen committed Dec 26, 2019
1 parent a457df8 commit 373ab31
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 373ab31

Please sign in to comment.