FA-98803 / Tensor stride and reshape semantics / Member archive
Tensor views: diagonal stride sums both source strides · case 03
diagonal stride sums both source strides.
Case contract
A square matrix diagonal view has length min(rows,cols) and stride row_stride+column_stride; preserve offset.
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 |
|---|---|---|---|
| row major | [4, 4, 6] | [4, 5, 6] | 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 ↗