Function tract_hir::prelude::tensor2

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