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