Skip to main content

write_emotion

Function write_emotion 

Source
pub fn write_emotion(
    path: &Path,
    block_idx: usize,
    emotion: &[f32; 21],
) -> Result<(), String>
Expand description

Write a single block’s emotion vector to emotions.bin. The file is grown to fit the block index if needed.