pub struct ContinuousPolicyResult {
pub action: Matrix,
pub raw_action: Matrix,
pub log_probability: Matrix,
pub entropy: Matrix,
pub value: Matrix,
}Expand description
One bounded continuous action and its differentiable policy statistics.
Fields§
§action: MatrixAction after tanh squashing and affine mapping to the requested range.
raw_action: MatrixUnsquashed normal sample, retained for exact policy reevaluation.
log_probability: MatrixSummed corrected log probability for every environment.
entropy: MatrixSummed base-normal entropy for every environment.
value: MatrixCritic value passed through without a storage copy.
Auto Trait Implementations§
impl !RefUnwindSafe for ContinuousPolicyResult
impl !Send for ContinuousPolicyResult
impl !Sync for ContinuousPolicyResult
impl !UnwindSafe for ContinuousPolicyResult
impl Forget for ContinuousPolicyResult
impl Freeze for ContinuousPolicyResultwhere
*const RcInner<RefCell<RuntimeState>> is !null: Freeze,
PhantomData<RcInner<RefCell<RuntimeState>>>: Freeze,
*const RcInner<StorageInner> is !null: Freeze,
PhantomData<RcInner<StorageInner>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<usize>: Freeze,
*const RcInner<MatrixSemantic> is !null: Freeze,
PhantomData<RcInner<MatrixSemantic>>: Freeze,
PhantomData<Rc<()>>: Freeze,
impl Move for ContinuousPolicyResult
impl Unpin for ContinuousPolicyResult
impl UnsafeUnpin for ContinuousPolicyResultwhere
*const RcInner<RefCell<RuntimeState>> is !null: UnsafeUnpin,
PhantomData<RcInner<RefCell<RuntimeState>>>: UnsafeUnpin,
*const RcInner<StorageInner> is !null: UnsafeUnpin,
PhantomData<RcInner<StorageInner>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
*const RcInner<MatrixSemantic> is !null: UnsafeUnpin,
PhantomData<RcInner<MatrixSemantic>>: UnsafeUnpin,
PhantomData<Rc<()>>: UnsafeUnpin,
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