Struct border_async_trainer::AsyncTrainer
source · [−]pub struct AsyncTrainer<A, E, R> where
A: Agent<E, R> + SyncModel,
E: Env,
R: ReplayBufferBase,
R::PushedItem: Send + 'static, { /* private fields */ }
Expand description
Manages asynchronous training loop in a single machine.
It will be used with ActorManager
Implementations
impl<A, E, R> AsyncTrainer<A, E, R> where
A: Agent<E, R> + SyncModel,
E: Env,
R: ReplayBufferBase,
R::PushedItem: Send + 'static,
impl<A, E, R> AsyncTrainer<A, E, R> where
A: Agent<E, R> + SyncModel,
E: Env,
R: ReplayBufferBase,
R::PushedItem: Send + 'static,
Creates AsyncTrainer.