Skip to main content

PerformanceModel

Trait PerformanceModel 

Source
pub trait PerformanceModel: Send + Sync {
    // Required method
    fn predict_performance(
        &self,
        genome: &ArchitectureGenome,
        hardware: &HardwareTarget,
    ) -> Result<PerformanceMetrics>;
}
Expand description

Trait for hardware performance models

Required Methods§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§