Skips the batches
| 236 | |
| 237 | // Skips the batches |
| 238 | void skip(int skipCount) override |
| 239 | { |
| 240 | if (mBatchSize >= mDims.d[0] && mBatchSize % mDims.d[0] == 0 && mFileBatchPos == mDims.d[0]) |
| 241 | { |
| 242 | mFileCount += skipCount * mBatchSize / mDims.d[0]; |
| 243 | return; |
| 244 | } |
| 245 | |
| 246 | int x = mBatchCount; |
| 247 | for (int i = 0; i < skipCount; i++) |
| 248 | { |
| 249 | next(); |
| 250 | } |
| 251 | mBatchCount = x; |
| 252 | } |
| 253 | |
| 254 | float* getBatch() override |
| 255 | { |
no outgoing calls