Skip to main content

py_opt_sa_search

Function py_opt_sa_search 

Source
pub(crate) fn py_opt_sa_search<'py>(
    py: Python<'py>,
    mac_counts: Vec<i64>,
    weights: Vec<f64>,
    max_luts: i64,
    max_power: f64,
    max_latency: i64,
    t_init: f64,
    t_min: f64,
    alpha: f64,
    max_iter: usize,
    seed: u64,
) -> PyResult<Py<PyAny>>
Expand description

Run SA design-space search (Rust-accelerated).

mac_counts: per-layer MAC counts weights: per-layer scoring weights Returns dict with best config indices, score, pareto data