realizeAlias

Realizes this view as an alias — returns a tensor that shares the parent's backing data when the view is a simple contiguous slice.

If the view's IndexMapper reports that it is contiguous, this returns a lightweight tensor backed by the same data (zero-copy). Otherwise it falls back to copyMaterialize.

Return

a Tensor that either aliases the parent data or is a copy