Macro neat::activation_fn

source ·
macro_rules! activation_fn {
    ($F: path) => { ... };
    ($F: path, $S: expr) => { ... };
    {$($F: path),*} => { ... };
    {$($F: path => $S: expr),*} => { ... };
}
Expand description

Creates an ActivationFn object from a function