oa::ml::RolloutBatch

Time-major matrices retained by one RolloutBuffer.

StRust public API

Declaration

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

Public Methods

pub const fn observation(&self) -> &Matrix
pub const fn action(&self) -> &Matrix
pub const fn reward(&self) -> &Matrix
pub const fn value(&self) -> &Matrix
pub const fn next_value(&self) -> &Matrix
pub const fn old_log_probability(&self) -> &Matrix
pub const fn terminated(&self) -> &Matrix
pub const fn truncated(&self) -> &Matrix
pub const fn valid(&self) -> &Matrix
pub const fn advantage(&self) -> &Matrix
pub const fn returns(&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 reward( &self ) -> &Matrix
No public source comment is attached to this declaration.
pub const fn value( &self ) -> &Matrix
No public source comment is attached to this declaration.
pub const fn next_value( &self ) -> &Matrix
No public source comment is attached to this declaration.
pub const fn old_log_probability( &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 valid( &self ) -> &Matrix
No public source comment is attached to this declaration.
pub const fn advantage( &self ) -> &Matrix
No public source comment is attached to this declaration.
pub const fn returns( &self ) -> &Matrix
No public source comment is attached to this declaration.