pub fn write_tern<W: Write>(writer: &mut W, model: &TernModel) -> Result<()>
Write a TernModel to a .tern file (bincode format).
.tern