CaffeSpark configuration
the layer index in the network protocol file
batch size
batch size
make a dummy data blob to be used by Solver threads
make a dummy data blob to be used by Solver threads
a dummy data blob
make a dummy data blob to be used by Solver threads
make a dummy data blob to be used by Solver threads
a dummy data blob
initialization of a Source within a process
initialization of a Source within a process
true if successfully initialized
construct a sample RDD
construct a sample RDD
spark context
RDD created from this source
create a batch of samples extracted from source queue
create a batch of samples extracted from source queue
This method is Invoked by Transformer thread. You should extract samples from source queue, parse it and produce a batch.
holder for sample Ids
holder for label blob
true if successful
adjust batch size
LMDB is a built-in data source class for LMDB data source. You could use this class for your LMDB data sources.