metadata
title: Database Layer
Database Layer
- Layer type:
Data - Doxygen Documentation
- Header:
./include/caffe/layers/data_layer.hpp - CPU implementation:
./src/caffe/layers/data_layer.cpp
Parameters
- Parameters (
DataParameter data_param) - From
./src/caffe/proto/caffe.proto):
{% highlight Protobuf %} {% include proto/DataParameter.txt %} {% endhighlight %}
- Parameters
- Required
source: the name of the directory containing the databasebatch_size: the number of inputs to process at one time
- Optional
rand_skip: skip up to this number of inputs at the beginning; useful for asynchronous sgdbackend[defaultLEVELDB]: choose whether to use aLEVELDBorLMDB
- Required