Merge PR #192 for lmdb reader and writer.
Project: http://git-wip-us.apache.org/repos/asf/incubator-singa/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-singa/commit/f0bc2288 Tree: http://git-wip-us.apache.org/repos/asf/incubator-singa/tree/f0bc2288 Diff: http://git-wip-us.apache.org/repos/asf/incubator-singa/diff/f0bc2288 Branch: refs/heads/dev Commit: f0bc22889f3e1b3bbbdd237a1e451de7ab5bf151 Parents: cde7dcf bcda737 Author: Wei Wang <[email protected]> Authored: Fri Jul 1 16:29:09 2016 +0800 Committer: Wei Wang <[email protected]> Committed: Fri Jul 1 16:29:09 2016 +0800 ---------------------------------------------------------------------- include/singa/io/reader.h | 63 ++++++++++++++++- include/singa/io/writer.h | 46 +++++++++++- src/io/binfile_reader.cc | 16 ++++- src/io/lmdb_reader.cc | 118 +++++++++++++++++++++++++++++++ src/io/lmdb_writer.cc | 133 +++++++++++++++++++++++++++++++++++ src/io/textfile_reader.cc | 6 ++ test/singa/test_binfile_rw.cc | 38 ++++++++++ test/singa/test_lmdb_rw.cc | 136 ++++++++++++++++++++++++++++++++++++ test/singa/test_textfile_rw.cc | 39 +++++++++++ 9 files changed, 589 insertions(+), 6 deletions(-) ----------------------------------------------------------------------
