Enum border_tch_agent::sac::EntCoefMode
source · pub enum EntCoefMode {
Fix(f64),
Auto(f64, f64),
}Expand description
Mode of the entropy coefficient of SAC.
Variants§
Fix(f64)
Use a constant as alpha.
Auto(f64, f64)
Automatic tuning given (target_entropy, learning_rate).
Trait Implementations§
source§impl Clone for EntCoefMode
impl Clone for EntCoefMode
source§fn clone(&self) -> EntCoefMode
fn clone(&self) -> EntCoefMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for EntCoefMode
impl Debug for EntCoefMode
source§impl<'de> Deserialize<'de> for EntCoefMode
impl<'de> Deserialize<'de> for EntCoefMode
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<EntCoefMode> for EntCoefMode
impl PartialEq<EntCoefMode> for EntCoefMode
source§fn eq(&self, other: &EntCoefMode) -> bool
fn eq(&self, other: &EntCoefMode) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for EntCoefMode
impl Serialize for EntCoefMode
impl StructuralPartialEq for EntCoefMode
Auto Trait Implementations§
impl RefUnwindSafe for EntCoefMode
impl Send for EntCoefMode
impl Sync for EntCoefMode
impl Unpin for EntCoefMode
impl UnwindSafe for EntCoefMode
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