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

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