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 duplicate 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 for EntCoefMode
impl PartialEq for EntCoefMode
Source§impl Serialize for EntCoefMode
impl Serialize for EntCoefMode
impl StructuralPartialEq for EntCoefMode
Auto Trait Implementations§
impl Freeze for EntCoefMode
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