Tn4ml

Latest version: v1.0.5

Safety actively analyzes 714815 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.0.5

**Updated `examples` Dependencies**
- Refined `extras_require` in `setup.py` to ensure installation of example dependencies.
- To install with examples, use:
bash
pip install "tn4ml[examples]"

**New examples from our paper**
- Added new example scripts from our paper ["_tn4ml: Tensor Network Training and Customization for Machine Learning_"](https://arxiv.org/abs/2502.13090)

**Updated docs**

1.0.4

**Merged pull requests:**
- Fixed normalization issue for large systems
- Add the option of `device` in `Model.configure()` (26)

**Closed issues:**
- Normalization issue for large systems (28)

**Additional fixes:**
- Correct canonization in `Strategy.Sweeps`
- Update example notebooks

1.0.3

**Merged pull requests:**
- Fix model training and evaluation (19)
- Implement new embedding PatchAmplitudeEmbedding (20) (gabrieledangeli)

**Closed issues:**
- Validation and model saving issues (17)

**Additional fixes:**
- Implement `model.forward()` function
- Fix `metrics.CombinedLoss()`

1.0.2

- Fix in initializers.py
- Fix in model.py - affects model evaluation

1.0.1

- Minor changes.
- A few new features for embeddings.
- Bug fixes and performance improvements.
- Fixed minor issues found in version 1.0.0.

Links

Releases

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.