strided_array_to_mdarray

Function strided_array_to_mdarray 

Source
pub fn strided_array_to_mdarray<T>(arr: StridedArray<T>) -> Array<T, DynRank>
where T: Copy + ElementOpApply + Send + Sync + Zero + Default,
Expand description

Convert a StridedArray result into an mdarray Array<T, DynRank>.

The result’s dims are reversed to match mdarray’s row-major convention. A copy is performed to materialize the data into dense row-major order, since mdarray only supports dense (implicit-stride) layout.