pub trait SyncModel {
    type ModelInfo: Clone;
    fn model_info(&self) -> (usize, Self::ModelInfo);
fn sync_model(&mut self, model_info: &Self::ModelInfo); }
Expand description

Synchronizes the model of the agent in asynchronous training.

Associated Types

Information of the model.

Required methods

Get ModelInfo.

The first element of the return value is the number of optimization steps.

Synchronizes the model.

Implementors