Reworked the Coder interface such that a Dataset now has both user-definable KCoder...
authorKevin James Matzen <kmatzen@cs.cornell.edu>
Tue, 14 Oct 2014 18:00:29 +0000 (14:00 -0400)
committerKevin James Matzen <kmatzen@cs.cornell.edu>
Tue, 14 Oct 2014 23:40:37 +0000 (19:40 -0400)
commitef518dc6e02b6d837a3281cf353a52a333a5a669
tree97bcd69d72aea461e139deb2b0cec8a8f5a5e2e4
parent6fd72e106526e6cbdf8a8b867576816f87700681
Reworked the Coder interface such that a Dataset now has both user-definable KCoder and VCoder which default to a set of DefaultCoder's based on types K and V.  Reworked the DefaultCoder's such that if none are available, a static assertion fails with a relevant message.
include/caffe/dataset.hpp
include/caffe/leveldb_dataset.hpp
include/caffe/lmdb_dataset.hpp
src/caffe/leveldb_dataset.cpp
src/caffe/lmdb_dataset.cpp