Published January 14, 2023
| Version hypothesis-python-6.62.1
Software
Open
Hypothesis: Property-Based Testing for Python
Authors/Creators
- 1. Imperial College London
- 2. Australian National University
Description
This patch tweaks "xps.arrays()" internals to improve PyTorch compatibility. Specifically, "torch.full()" does not accept integers as the shape argument (n.b. technically "size" in torch), but such behaviour is expected in internal code, so we copy the "torch" module and patch in a working "full()" function.
The canonical version of these notes (with links) is on readthedocs.
Notes
Files
HypothesisWorks/hypothesis-hypothesis-python-6.62.1.zip
Files
(9.8 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:a59f92217be7b4b11ca9e03c134e64d8
|
9.8 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/HypothesisWorks/hypothesis/tree/hypothesis-python-6.62.1 (URL)