pub fn from_values( values: &[Value], shape: impl Into<Shape>, dtype: DType, ) -> HostArray
Builds an array from values, converted to dtype as Element::from_value does.
dtype
Element::from_value