pub trait EntropyTuner {
// Required methods
fn alpha(&self) -> f32;
fn update(
&mut self,
log_probs: &TensorData,
target_entropy: f32,
) -> Result<f64, NNError>;
}Expand description
Entropy tuning for SAC.
pub trait EntropyTuner {
// Required methods
fn alpha(&self) -> f32;
fn update(
&mut self,
log_probs: &TensorData,
target_entropy: f32,
) -> Result<f64, NNError>;
}Entropy tuning for SAC.