Torch-treecrf

Latest version: v0.2.0

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

Scan your dependencies

0.2.0

Changed
- Make `TreeCRFLayer` zero-initialize transition weights.
- Use vectorization and broadcasting to compute message passing.
- Bump Torch dependency to `v2.0`.
- Swapped last two dimensions of tensors returned from `TreeCRFLayer` for `CrossEntropyLoss` compatibility.

Removed
- Dedicated `TreeMatrix` type for storing a hierarchy.

0.1.1

Fixed
- Extraction of final probabilities in `TreeCRF.forward`.

0.1.0

Initial release.

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.