pub struct ReplayConfig {
pub capacity: usize,
pub observation_shape: Vec<usize>,
pub action_shape: Vec<usize>,
pub action_dtype: DType,
}Fields§
§capacity: usizeMaximum number of retained transitions.
observation_shape: Vec<usize>Per-transition observation shape, excluding the batch axis.
action_shape: Vec<usize>Per-transition action shape; empty denotes one scalar action.
action_dtype: DTypeAction storage representation; currently F32 or I32.
Trait Implementations§
Source§impl Clone for ReplayConfig
impl Clone for ReplayConfig
Source§impl Debug for ReplayConfig
impl Debug for ReplayConfig
impl Eq for ReplayConfig
Source§impl PartialEq for ReplayConfig
impl PartialEq for ReplayConfig
impl StructuralPartialEq for ReplayConfig
Auto Trait Implementations§
impl Forget for ReplayConfig
impl Freeze for ReplayConfig
impl Move for ReplayConfig
impl RefUnwindSafe for ReplayConfig
impl Send for ReplayConfigwhere
RawVecInner: Send,
impl Sync for ReplayConfigwhere
RawVecInner: Sync,
impl Unpin for ReplayConfig
impl UnsafeUnpin for ReplayConfig
impl UnwindSafe for ReplayConfigwhere
RawVecInner: 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