mapToParent

open override fun mapToParent(childIndices: IntArray): IntArray(source)

Maps view coordinates to parent tensor coordinates.

This implementation handles all slice types:

  • Range: Maps view index to parent range with offset

  • At: Uses fixed parent index (view dimension eliminated)

  • All: Direct mapping (view index = parent index)

  • Step: Applies stride multiplication to view index

Return

corresponding coordinates in parent space

Parameters

childIndices

coordinates in view space