Skip to main content

Runtime

Trait Runtime 

Source
pub trait Runtime: Debug {
    // Required methods
    fn name(&self) -> StaticName;
    fn prepare(&self, model: TypedModel) -> TractResult<Box<dyn Runnable>>;
}

Required Methods§

Source

fn name(&self) -> StaticName

Source

fn prepare(&self, model: TypedModel) -> TractResult<Box<dyn Runnable>>

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§