Struct border_atari_env::util::test::ObsBatch
source · pub struct ObsBatch {
pub n: usize,
pub m: usize,
pub buf: Vec<u8>,
}Expand description
Consists the observation part of a batch in SimpleReplayBuffer.
Fields§
§n: usizeThe number of samples in the batch.
m: usizeThe length of a sample in bytes.
buf: Vec<u8>The buffer.
Trait Implementations§
source§impl From<BorderAtariObs> for ObsBatch
impl From<BorderAtariObs> for ObsBatch
Auto Trait Implementations§
impl RefUnwindSafe for ObsBatch
impl Send for ObsBatch
impl Sync for ObsBatch
impl Unpin for ObsBatch
impl UnwindSafe for ObsBatch
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