Trait tract_api::OnnxInterface
source · pub trait OnnxInterface {
type InferenceModel: InferenceModelInterface;
// Required method
fn model_for_path(
&self,
path: impl AsRef<Path>,
) -> Result<Self::InferenceModel>;
}
Required Associated Types§
Required Methods§
fn model_for_path(&self, path: impl AsRef<Path>) -> Result<Self::InferenceModel>
Object Safety§
This trait is not object safe.