Skip to main content

from_values

Function from_values 

Source
pub fn from_values(
    values: &[Value],
    shape: impl Into<Shape>,
    dtype: DType,
) -> HostArray
Expand description

Builds an array from values, converted to dtype as Element::from_value does.