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 Jan 11, 2020
1 parent 8afeaf6 commit 13652ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/tvm/runtime/ndarray.h
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 13652ac

Please sign in to comment.