Table Of Contents
Table Of Contents

mxnet.recordio

Read and write for the RecordIO data format.

Iterators

MXIndexedRecordIO(idx_path, uri, flag[, …]) Reads/writes RecordIO data format, supporting random access.
MXRecordIO(uri, flag) Reads/writes RecordIO data format, supporting sequential read and write.

Read and write RecordIO files

IRHeader An alias for HEADER.
pack(header, s) Pack a string into MXImageRecord.
pack_img(header, img[, quality, img_fmt]) Pack an image into MXImageRecord.
unpack(s) Unpack a MXImageRecord to string.
unpack_img(s[, iscolor]) Unpack a MXImageRecord to image.