Torch-snippets

Latest version: v0.553

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

Scan your dependencies

Page 6 of 8

0.514

🐞 minor change in `print_shapes_hook`

0.513

🎉 print_module_io_for automates attaching and detaching hooks
🎉 AD2 avoids rich printing

0.512

🐞 `attach_hooks` will accept any custom hook

0.511

🎉 Make `markup2.AD.__repr__` the summary
🎉 Expose `markup2.AD` as `AD2`
🎉 Make `icecream` a requirement
🎉 Min python is 3.8

0.510

🎉 New IO hooks system in `torch_snippets.trainer.hooks`
🎉 Updated markup2.AD.summary and add print_summary methods

0.509

🎉 Experimental `AD` in torch_snippets.markup2 that infers variable names E.g. - `(p=10; AD(p) == {'p': 10})`
🐞 `isin` will not add +1 (useful for both absolute and relative boxes now)
🐞 `write_json` will support numpy, torch and AttrDict

Page 6 of 8

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.