UnsqueezedTensorData
class UnsqueezedTensorData<T : DType, V>(base: TensorData<T, V>, dim: Int) : TensorData<T, V> (source)
A lightweight view over existing TensorData that inserts a size-1 dimension at dim. The underlying storage is shared; only the shape and index mapping change.