◆ MNISTBatchStream()
MNISTBatchStream::MNISTBatchStream |
( |
int |
batchSize, |
|
|
int |
maxBatches, |
|
|
const std::string & |
dataFile, |
|
|
const std::string & |
labelsFile, |
|
|
const std::vector< std::string > & |
directories |
|
) |
| |
|
inline |
◆ reset()
void MNISTBatchStream::reset |
( |
int |
firstBatch | ) |
|
|
inlineoverridevirtual |
◆ next()
bool MNISTBatchStream::next |
( |
| ) |
|
|
inlineoverridevirtual |
◆ skip()
void MNISTBatchStream::skip |
( |
int |
skipCount | ) |
|
|
inlineoverridevirtual |
◆ getBatch()
float* MNISTBatchStream::getBatch |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getLabels()
float* MNISTBatchStream::getLabels |
( |
| ) |
|
|
inlineoverridevirtual |
◆ getBatchesRead()
int MNISTBatchStream::getBatchesRead |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getBatchSize()
int MNISTBatchStream::getBatchSize |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ getDims()
◆ readDataFile()
void MNISTBatchStream::readDataFile |
( |
const std::string & |
dataFilePath | ) |
|
|
inlineprivate |
◆ readLabelsFile()
void MNISTBatchStream::readLabelsFile |
( |
const std::string & |
labelsFilePath | ) |
|
|
inlineprivate |
◆ mBatchSize
int MNISTBatchStream::mBatchSize {0} |
|
private |
◆ mBatchCount
int MNISTBatchStream::mBatchCount {0} |
|
private |
The batch that will be read on the next invocation of next()
◆ mMaxBatches
int MNISTBatchStream::mMaxBatches {0} |
|
private |
◆ mDims
Dims MNISTBatchStream::mDims {} |
|
private |
◆ mData
std::vector<float> MNISTBatchStream::mData {} |
|
private |
◆ mLabels
std::vector<float> MNISTBatchStream::mLabels {} |
|
private |
The documentation for this class was generated from the following file: