Trait InputGenerator

Source
pub trait InputGenerator<K, Inputs>: 'static {
    // Required method
    fn generate(&self, key: &K, inputs: &Inputs) -> Inputs;
}
Expand description

A function that generates the input for autotuning passes

Required Methods§

Source

fn generate(&self, key: &K, inputs: &Inputs) -> Inputs

Generate a set of inputs for a given key and reference inputs

Implementors§

Source§

impl<K, Inputs, Marker: 'static, F> InputGenerator<K, Inputs> for FunctionInputGenerator<F, Marker>
where F: FunctionInputGen<K, Inputs, Marker>,