FA-98770 / Tensor stride and reshape semantics / Member archive
Tensor views: reshape inferred dimension uses exact element count · case 05
reshape inferred dimension uses exact element count.
Case contract
Infer one -1 dimension from element count; reject nonintegral inference is outside contract.
Why this case matters
Dense tensor views rely on consistent logical coordinates and physical storage addresses.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| flatten | [2] | [10] | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗