piiswrong commented on a change in pull request #9960: [MXNET-30] Add label augmentation support in image recordio2 URL: https://github.com/apache/incubator-mxnet/pull/9960#discussion_r172749317
########## File path: src/io/image_iter_common.h ########## @@ -85,6 +85,14 @@ class ImageLabelMap { CHECK(it != idx2label_.end()) << "fail to find imagelabel for id " << imid; return mshadow::Tensor<cpu, 1>(it->second, mshadow::Shape1(label_width)); } + /*! \brief find a label for corresponding index, return vector as copy */ + inline std::vector<float> FindCopy(size_t imid) const { Review comment: FindLabel ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services