Foldedtensor

Latest version: v0.3.4

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

Scan your dependencies

Page 2 of 2

0.2.1

- Improve performance by computing the new "padded to flattened" indexer only (and not the previous one) when refolding

0.2.0

- Remove C++ torch dependency in favor of Numpy due to lack of torch ABI backward/forward compatibility, making the pre-built wheels unusable in most cases
- Require dtype to be specified when creating a FoldedTensor from a nested list

0.1.0

Inception ! :tada:

- Support for arbitrary numbers of nested dimensions
- No computational overhead when dealing with already padded tensors
- Dynamic re-padding (or refolding) of data based on stored inner lengths
- Automatic mask generation and updating whenever the tensor is refolded
- C++ optimized code for fast data loading from Python lists and refolding
- Flexibility in data representation, making it easy to switch between different layouts when needed

Page 2 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.