[][src]Function tract_core::internal::tensor2

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