oa::ml::replay::ReplayBatch

Device-resident replay values, optionally including sampled source indices.

StRust public API

Declaration

pub struct ReplayBatch { /* private fields */ }
Public Rust declaration.

Public Methods

pub const fn observation(&self) -> &Matrix
pub const fn action(&self) -> &Matrix
pub const fn next_observation(&self) -> &Matrix
pub const fn reward(&self) -> &Matrix
pub const fn terminated(&self) -> &Matrix
pub const fn truncated(&self) -> &Matrix
pub const fn index(&self) -> &Matrix

Public Method Documentation

pub const fn observation( &self ) -> &Matrix
No public source comment is attached to this declaration.
pub const fn action( &self ) -> &Matrix
No public source comment is attached to this declaration.
pub const fn next_observation( &self ) -> &Matrix
No public source comment is attached to this declaration.
pub const fn reward( &self ) -> &Matrix
No public source comment is attached to this declaration.
pub const fn terminated( &self ) -> &Matrix
No public source comment is attached to this declaration.
pub const fn truncated( &self ) -> &Matrix
No public source comment is attached to this declaration.
pub const fn index( &self ) -> &Matrix
No public source comment is attached to this declaration.