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