Load a micro-batch into a buffer. Roughly: .. code-block:: python buffers['inputs'][buffer_id] = next(data_iter)
| 385 | |
| 386 | # IO |
| 387 | class LoadMicroBatch(BufferOpInstruction): |
| 388 | """Load a micro-batch into a buffer. |
| 389 | |
| 390 | Roughly: |
| 391 | |
| 392 | .. code-block:: python |
| 393 | |
| 394 | buffers['inputs'][buffer_id] = next(data_iter) |
| 395 | """ |
| 396 | pass |
| 397 | |
| 398 | |
| 399 | # Compute |