Trait hotg_runicos_base_runtime::ModelFactory[][src]

pub trait ModelFactory: Send + Sync + 'static {
    fn new_model(
        &self,
        model_bytes: &[u8],
        inputs: Option<&[Shape<'_>]>,
        outputs: Option<&[Shape<'_>]>
    ) -> Result<Box<dyn Model>, Error>; }

Required methods

Implementors