Function rai_core::ops::from_array

source ·
pub fn from_array<T: ElemType>(
    data: impl Into<Vec<T>> + Debug,
    shape: impl Shape,
    backend: impl Into<Box<dyn Backend>> + Debug
) -> Tensor