Torchtyping

Latest version: v0.1.5

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

Scan your dependencies

0.1.4

Fixed metaclass incompatibility to work with PyTorch 1.9.0.

0.1.3

`TensorType` now inherits from `torch.Tensor` so that IDE lookup+error messages work as expected.
Updated pre-commit hooks. These were failing for some reason.

0.1.2

Added support for `str: str` pairs and `None: str` pairs.

0.1.1

Added support for Python 3.7+. (Down from Python 3.9+.)
Added support for `typing.Any` to indicate an arbitrary-size dimension.

0.1.0

Initial release.

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.