A small wrapper around pytest_regressions for Tensors
Project description
tensor_regression
A small wrapper to simplify using pytest_regressions with Tensors.
This adds the following to pytest_regressions:
- Simple Tensor statistics (min, max, mean, std, shape, dtype, device, hash, etc.) are generated and saved in a .yaml file.
- The simple statistics are used as a pre-check before comparing the full tensors.
- These yaml files can be saved with git without having to worry about accidentally saving huge files.
- Full tensors are moved to CPU and saved in a
.npyfile (same as ndarrays_regression), and these .npy files are gitignored. - Adds a
--gen-missingargument (default True) which will generate any missing regression files without raising error, as opposed to pytest-regression's--regen-allwhich regenerates all regression files.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tensor_regression-0.1.2.tar.gz.
File metadata
- Download URL: tensor_regression-0.1.2.tar.gz
- Upload date:
- Size: 16.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4505ed6cb2638536da638e80a8a879e389621306b9a3014a583aa5dae0ec72f
|
|
| MD5 |
a047d88fccbcd0fd379072ffbe32f3bf
|
|
| BLAKE2b-256 |
1d1f22e0554f5d415a242b5b95872be7f90fbed37e3670c687162cb3beb07726
|
Provenance
The following attestation bundles were made for tensor_regression-0.1.2.tar.gz:
Publisher:
publish.yml on lebrice/tensor_regression
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tensor_regression-0.1.2.tar.gz -
Subject digest:
d4505ed6cb2638536da638e80a8a879e389621306b9a3014a583aa5dae0ec72f - Sigstore transparency entry: 815066951
- Sigstore integration time:
-
Permalink:
lebrice/tensor_regression@f477ca57d26d30a7839d580687b8d6387a05178f -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/lebrice
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f477ca57d26d30a7839d580687b8d6387a05178f -
Trigger Event:
release
-
Statement type:
File details
Details for the file tensor_regression-0.1.2-py3-none-any.whl.
File metadata
- Download URL: tensor_regression-0.1.2-py3-none-any.whl
- Upload date:
- Size: 12.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00fe39d8802e61e9f448c96ca90934566a8f29fe5bdf85af65407e6d34933bf5
|
|
| MD5 |
2b5df1373ee361e8a7390566893f86ca
|
|
| BLAKE2b-256 |
ea8344b0bc68fb124741fa1aced1e61607e63a57285f5dd2ab182cda06200fcf
|
Provenance
The following attestation bundles were made for tensor_regression-0.1.2-py3-none-any.whl:
Publisher:
publish.yml on lebrice/tensor_regression
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
tensor_regression-0.1.2-py3-none-any.whl -
Subject digest:
00fe39d8802e61e9f448c96ca90934566a8f29fe5bdf85af65407e6d34933bf5 - Sigstore transparency entry: 815066955
- Sigstore integration time:
-
Permalink:
lebrice/tensor_regression@f477ca57d26d30a7839d580687b8d6387a05178f -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/lebrice
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@f477ca57d26d30a7839d580687b8d6387a05178f -
Trigger Event:
release
-
Statement type: