define_algorithm_category

Macro define_algorithm_category 

Source
macro_rules! define_algorithm_category {
    (
        $name:ident:
        learning = $learning:ty,
        problem = $problem:ty,
        model = $model:ty,
        compute = $compute:ty,
        data = $data:ty,
    ) => { ... };
    (
        $name:ident:
        learning = $learning:ty,
        problem = $problem:ty,
        model = $model:ty,
    ) => { ... };
}
Expand description

Macro for defining algorithm categories with compile-time checking