pub fn tensor0<A>(x: A) -> Tensor where
    A: Datum