strided_array_to_ndarray

Function strided_array_to_ndarray 

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

Convert a StridedArray result into an ndarray ArrayD<T>.

A copy is performed to materialize data into dense row-major order, since the StridedArray from einsum may have arbitrary strides.