Skip to main content

register

Macro register 

Source
macro_rules! register {
    (
        $(layers: [$( $layer_type:ty ),* ])?$(,)?
        $(acts: [$( $activation_type:ty ),* ])?$(,)?
        $(costs: [$( $cost_type:ty ),* ])?$(,)?
    ) => { ... };
}
Expand description

Macro to register your own layers, activations and costs