pub fn sigmoid(x: f32) -> f32
calculate the sigmoid to the given f32 number
sigmoid
let x:f32 = 0.5; let answer:f32 = sigmoid(x); println!("sigmoid({}) => {}",x,answer);