Utilities for efficiently iterating over mini-batches of PyTorch tensors
Project description
This package allows eliminating the over-head incurred by the DataLoader class when iterating over in-memory tensors for training small models. Allows iterating over (shuffled) samples, or groups of samples, such as what is required for learning-to-rank.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
batch_iter-0.1.tar.gz
(5.2 kB
view details)
Built Distribution
File details
Details for the file batch_iter-0.1.tar.gz
.
File metadata
- Download URL: batch_iter-0.1.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.11.1 readme-renderer/44.0 requests/2.32.3 requests-toolbelt/1.0.0 urllib3/2.2.2 tqdm/4.66.5 importlib-metadata/8.4.0 keyring/25.3.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6567791efefe0c3a64b9f39bd6ab95ab490f6073df947b7a5016d3447fa923bc |
|
MD5 | 21675d14c0ef2169ab5a2fabdbca873b |
|
BLAKE2b-256 | 9fba003740dbef2a906e62200d68d40bc2bc29bf8729dcd1d0886ed91925d14c |
File details
Details for the file batch_iter-0.1-py3-none-any.whl
.
File metadata
- Download URL: batch_iter-0.1-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.11.1 readme-renderer/44.0 requests/2.32.3 requests-toolbelt/1.0.0 urllib3/2.2.2 tqdm/4.66.5 importlib-metadata/8.4.0 keyring/25.3.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c1864e188bc5bec0c92bf45f6b179483a80f12b8498fd5ecf0a99e480c34d69 |
|
MD5 | 39d5eae2a43e77b922666c0399f9a16a |
|
BLAKE2b-256 | 18233704a0ccd6b14df330f44fba04009c1d7d8ac1542984fd9fcf387a335790 |