pub struct ReplayBatch { /* private fields */ }Expand description
Device-resident replay values, optionally including sampled source indices.
Implementations§
Source§impl ReplayBatch
impl ReplayBatch
Sourcepub const fn observation(&self) -> &Matrix
pub const fn observation(&self) -> &Matrix
Return observations with a leading storage or sample axis.
Sourcepub const fn next_observation(&self) -> &Matrix
pub const fn next_observation(&self) -> &Matrix
Return successor observations with a leading storage or sample axis.
Sourcepub const fn terminated(&self) -> &Matrix
pub const fn terminated(&self) -> &Matrix
Return termination flags.
Auto Trait Implementations§
impl !RefUnwindSafe for ReplayBatch
impl !Send for ReplayBatch
impl !Sync for ReplayBatch
impl !UnwindSafe for ReplayBatch
impl Forget for ReplayBatch
impl Freeze for ReplayBatchwhere
*const RcInner<RefCell<RuntimeState>> is !null: Freeze,
PhantomData<RcInner<RefCell<RuntimeState>>>: Freeze,
*const RcInner<StorageInner> is !null: Freeze,
PhantomData<RcInner<StorageInner>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<usize>: Freeze,
*const RcInner<MatrixSemantic> is !null: Freeze,
PhantomData<RcInner<MatrixSemantic>>: Freeze,
PhantomData<Rc<()>>: Freeze,
impl Move for ReplayBatch
impl Unpin for ReplayBatch
impl UnsafeUnpin for ReplayBatchwhere
*const RcInner<RefCell<RuntimeState>> is !null: UnsafeUnpin,
PhantomData<RcInner<RefCell<RuntimeState>>>: UnsafeUnpin,
*const RcInner<StorageInner> is !null: UnsafeUnpin,
PhantomData<RcInner<StorageInner>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
*const RcInner<MatrixSemantic> is !null: UnsafeUnpin,
PhantomData<RcInner<MatrixSemantic>>: UnsafeUnpin,
PhantomData<Rc<()>>: UnsafeUnpin,
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