FAILURE MAP
← Case archive

FA-98792 / Tensor stride and reshape semantics / Member archive

Tensor views: unsqueeze inserts a unit dimension at normalized axis · case 02

unsqueeze inserts a unit dimension at normalized axis.

Member previewVariant 2 · 3 implementations · 6 checks per implementation

Case contract

Insert size one and a contiguous-compatible stride: at end stride 1, otherwise shape[a]*stride[a].

Why this case matters

Dense tensor views rely on consistent logical coordinates and physical storage addresses.

One recorded failure

Sample boundary fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
leading[[1, 2, 3], [1, 3, 1]][[1, 2, 3], [6, 3, 1]]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 ↗