Function ndarray_to_tensor_f32

Source
pub fn ndarray_to_tensor_f32(
    arr: ArrayBase<OwnedRepr<f32>, IxDyn>,
) -> Result<Tensor>