Skip to main content

act

Function act 

pub fn act(weights: &[f64; 5], state: &State) -> bool
Expand description

The policy’s action in state: push right iff w · (s, 1) > 0.