pub fn submit_training_observations(
context: TrainingHandle,
out_actions: &mut [f32],
out_values: &mut [f32],
) -> FFIResult<()>Expand description
Submits observations previously pushed using push_training_observation.
out_actions should be a slice with length num_actions * observation count.
out_values should be a slice with length observation count.
Each consecutive sequence of num_actions values in out_actions corresponds to the actions for an observation.
If an observation was terminal or interrupted then all actions and the value for that observation will be zeroed out.