| |
| |
| ``mx.io.bucket.iter`` |
| ========================================== |
| |
| Description |
| ---------------------- |
| |
| Create Bucket Iter |
| |
| Usage |
| ---------- |
| |
| .. code:: r |
| |
| mx.io.bucket.iter( |
| |
| buckets, |
| |
| batch.size, |
| |
| data.mask.element = 0, |
| |
| shuffle = FALSE, |
| |
| seed = 123 |
| |
| ) |
| |
| Arguments |
| ------------------ |
| |
| +----------------------------------------+------------------------------------------------------------+ |
| | Argument | Description | |
| +========================================+============================================================+ |
| | ``buckets`` | The data array. | |
| +----------------------------------------+------------------------------------------------------------+ |
| | ``batch.size`` | The batch size used to pack the array. | |
| +----------------------------------------+------------------------------------------------------------+ |
| | ``data.mask.element`` | The element to mask | |
| +----------------------------------------+------------------------------------------------------------+ |
| | ``shuffle`` | Whether shuffle the data | |
| +----------------------------------------+------------------------------------------------------------+ |
| | ``seed`` | The random seed | |
| +----------------------------------------+------------------------------------------------------------+ |
| |
| |
| |