Function tract_hir::internal::tract_ndarray::prelude::aview2    [−][src]
pub fn aview2<A, V>(xs: &[V]) -> ArrayBase<ViewRepr<&A>, Dim<[usize; 2]>> where
    V: FixedInitializer<Elem = A>, Expand description
Create a two-dimensional array view with elements borrowing xs.
Panics if the product of non-zero axis lengths overflows isize. (This
can only occur when V is zero-sized.)