pub fn cache_dense_weight(key: u64, n_in: usize, n_out: usize, data: Vec<f32>)
Insert or refresh a dense weight matrix (row-major n_out × n_in).