apeforest commented on a change in pull request #14836: Refactor AGInfo and
Imperative
URL: https://github.com/apache/incubator-mxnet/pull/14836#discussion_r305027469
##########
File path: src/io/iter_libsvm.cc
##########
@@ -144,16 +144,16 @@ class LibSVMIter: public SparseIIterator<DataInst> {
return true;
}
- virtual const DataInst &Value(void) const {
+ virtual const DataInst& Value(void) const {
return out_;
}
- virtual const NDArrayStorageType GetStorageType(bool is_data) const {
+ virtual NDArrayStorageType GetStorageType(bool is_data) const {
Review comment:
Why remove const?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services