pub struct ReplayBufferProxyConfig {
pub n_buffer: usize,
}
Expand description
Configuration of ReplayBufferProxy
.
Fields§
§n_buffer: usize
Number of samples buffered until sent to the trainer.
Here, a sample corresponds to a R::PushedItem
for ReplayBufferProxy
<R>
.
Trait Implementations§
source§impl Clone for ReplayBufferProxyConfig
impl Clone for ReplayBufferProxyConfig
source§fn clone(&self) -> ReplayBufferProxyConfig
fn clone(&self) -> ReplayBufferProxyConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for ReplayBufferProxyConfig
impl Send for ReplayBufferProxyConfig
impl Sync for ReplayBufferProxyConfig
impl Unpin for ReplayBufferProxyConfig
impl UnwindSafe for ReplayBufferProxyConfig
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more