Skip to main content

WeightParser

Trait WeightParser 

Source
pub trait WeightParser: Send + Sync {
    // Required methods
    fn parse(&self, path: &Path) -> Result<Model>;
    fn format_name(&self) -> &'static str;
}

Required Methods§

Source

fn parse(&self, path: &Path) -> Result<Model>

Source

fn format_name(&self) -> &'static str

Implementors§