You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/02/01 05:03:53 UTC
[GitHub] szha closed pull request #9659: Add note about deprecation of v1 versions of ImageRecordIter #8652
szha closed pull request #9659: Add note about deprecation of v1 versions of ImageRecordIter #8652
URL: https://github.com/apache/incubator-mxnet/pull/9659
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/src/io/iter_image_recordio.cc b/src/io/iter_image_recordio.cc
index 3af9e46b50..e8dcbef2e9 100644
--- a/src/io/iter_image_recordio.cc
+++ b/src/io/iter_image_recordio.cc
@@ -338,6 +338,11 @@ class ImageRecordIter : public IIterator<DataInst> {
MXNET_REGISTER_IO_ITER(ImageRecordIter_v1)
.describe(R"code(Iterating on image RecordIO files
+.. note::
+
+ ``ImageRecordIter_v1`` is deprecated. Use ``ImageRecordIter`` instead.
+
+
Read images batches from RecordIO files with a rich of data augmentation
options.
@@ -362,6 +367,10 @@ files.
MXNET_REGISTER_IO_ITER(ImageRecordUInt8Iter_v1)
.describe(R"code(Iterating on image RecordIO files
+.. note::
+
+ ``ImageRecordUInt8Iter_v1`` is deprecated. Use ``ImageRecordUInt8Iter`` instead.
+
This iterator is identical to ``ImageRecordIter`` except for using ``uint8`` as
the data type instead of ``float``.
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services