macro_rules! dispatch_unary_op {
($backend:expr, $op:ident, $a:expr, $result:expr) => { ... };
}Expand description
Macro to dispatch unary operations (a -> result)
Routes operations like relu, sigmoid to the best available SIMD backend. Falls back to scalar implementation when a hardware backend is unavailable.