Function tract_hir::prelude::tract_data::internal::tensor2[][src]

pub fn tensor2<A, T>(xs: &[T]) -> Tensor where
    A: Datum,
    T: FixedInitializer<Elem = A> + Clone