Skip to main content

load_gradient_from_arrow

Function load_gradient_from_arrow 

Source
pub fn load_gradient_from_arrow(bytes: &[u8]) -> Result<Vec<f32>>
Expand description

Deserialize gradient from Arrow IPC bytes produced by store_gradient_as_arrow.

Reads the "value" column and returns it as Vec<f32>.