Struct border_async_trainer::ReplayBufferProxy
source · [−]pub struct ReplayBufferProxy<R: ReplayBufferBase> { /* private fields */ }
Expand description
A wrapper of replay buffer for asynchronous trainer.
Implementations
pub fn build_with_sender(
id: usize,
config: &ReplayBufferProxyConfig,
sender: Sender<PushedItemMessage<R::PushedItem>>
) -> Self
Trait Implementations
type Config = ReplayBufferProxyConfig
type Config = ReplayBufferProxyConfig
Configuration of the replay buffer.
type PushedItem = R::PushedItem
type PushedItem = R::PushedItem
Items pushed into the buffer.
Build a replay buffer from Self::Config.
Pushes a transition into the buffer.