python-ml-collections 0.1.1-3 source package in Ubuntu
Changelog
python-ml-collections (0.1.1-3) unstable; urgency=medium * Team upload. * Included a patch for ml_collections/config_flags/config_flags.py to replace deprecated imp with importlib to fix ModuleNotFoundError in Python 3.12. (Closes: #1058106) * Added python3-absl, python3-contextlib2, python3-yaml, python3-six to tests-depends. * Added python3-six to Build-Depends and Depends in d/control. * Disabled 2 bazel tests in autopkgtest. -- Yogeswaran Umasankar <email address hidden> Mon, 08 Jan 2024 20:00:00 +0000
Upload details
- Uploaded by:
- Debian Python Team
- Uploaded to:
- Sid
- Original maintainer:
- Debian Python Team
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Oracular | release | universe | misc | |
Noble | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
python-ml-collections_0.1.1-3.dsc | 2.3 KiB | d46d9a0ec81f1f846cf29e8d3343f1b0589643025996892517c42f1e886b65e8 |
python-ml-collections_0.1.1.orig.tar.gz | 74.3 KiB | ce554a40fc28510d5e214e82b4476b9410f921607d1426c2ee88a45db42a4605 |
python-ml-collections_0.1.1-3.debian.tar.xz | 5.1 KiB | 2a4a70fc7959358cef622fcf556e0667ea4c58ea01deed4ccd4ba6312713f3c2 |
Available diffs
- diff from 0.1.1-2 to 0.1.1-3 (1.5 KiB)
No changes file available.
Binary packages built by this source
- python3-ml-collections: collections designed for ML usecases
The package provices two classes called ConfigDict and FrozenConfigDict that
are "dict-like" data structures with dot access to nested elements. Together,
they are supposed to be used as a main way of expressing configurations of
experiments and models.
.
Features:
* Dot-based access to fields.
* Locking mechanism to prevent spelling mistakes.
* Lazy computation.
* FrozenConfigDict() class which is immutable and hashable.
* Type safety.
* "Did you mean" functionality.
* Human readable printing (with valid references and cycles), using
valid YAML format.
* Fields can be passed as keyword arguments using the ** operator.
.
There are two exceptions to the strong type-safety of the ConfigDict.
int values can be passed in to fields of type float. In such a case, the
value is type-converted to a float before being stored. Similarly,
all string types (including Unicode strings) can be stored in fields
of type str or unicode.