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