Struct border_core::replay_buffer::SimpleStepProcessor
source · pub struct SimpleStepProcessor<E, O, A> { /* private fields */ }
Expand description
A generic implementation of StepProcessorBase.
It supports 1-step TD backup for non-vectorized environment:
E::Obs.len()
must be 1.
Trait Implementations§
source§impl<E, O, A> StepProcessorBase<E> for SimpleStepProcessor<E, O, A>where
E: Env,
O: SubBatch + From<E::Obs>,
A: SubBatch + From<E::Act>,
impl<E, O, A> StepProcessorBase<E> for SimpleStepProcessor<E, O, A>where E: Env, O: SubBatch + From<E::Obs>, A: SubBatch + From<E::Act>,
§type Config = SimpleStepProcessorConfig
type Config = SimpleStepProcessorConfig
Configuration.
Auto Trait Implementations§
impl<E, O, A> RefUnwindSafe for SimpleStepProcessor<E, O, A>where A: RefUnwindSafe, E: RefUnwindSafe, O: RefUnwindSafe,
impl<E, O, A> Send for SimpleStepProcessor<E, O, A>where A: Send, E: Send, O: Send,
impl<E, O, A> Sync for SimpleStepProcessor<E, O, A>where A: Sync, E: Sync, O: Sync,
impl<E, O, A> Unpin for SimpleStepProcessor<E, O, A>where A: Unpin, E: Unpin, O: Unpin,
impl<E, O, A> UnwindSafe for SimpleStepProcessor<E, O, A>where A: UnwindSafe, E: UnwindSafe, O: UnwindSafe,
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