Struct border_atari_env::util::test::ActBatch
source · pub struct ActBatch {
pub n: usize,
pub m: usize,
pub buf: Vec<u8>,
}Expand description
Consists the action 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<BorderAtariAct> for ActBatch
impl From<BorderAtariAct> for ActBatch
Auto Trait Implementations§
impl RefUnwindSafe for ActBatch
impl Send for ActBatch
impl Sync for ActBatch
impl Unpin for ActBatch
impl UnwindSafe for ActBatch
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