Skip to main content

write_batch

Function write_batch 

Source
pub fn write_batch(
    epochs: &[Array2<f32>],
    positions: &[Array2<f32>],
    path: &Path,
) -> Result<()>
Expand description

Write preprocessed epochs to batch.safetensors.

epochs[e]: [C, 1280] positions[e]: [C, 3]