pub fn submit_inference_observations(
context: InferenceHandle,
out_actions: &mut [f32],
out_values: &mut [f32],
) -> FFIResult<()>Expand description
Submits observations previously pushed using push_inference_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.