pub fn relu_leaky(x: f32) -> f32
Calculates the leaky ReLU activation function for a given input.
x
let x = 0.5; let result = cgl_rs::math::activations::relu_leaky(x); println!("relu_leaky({}) = {}", x, result);