Struct border_tch_agent::sac::Critic
source · [−]pub struct Critic<Q> where
Q: SubModel2<Output = Tensor>,
Q::Config: DeserializeOwned + Serialize, { /* private fields */ }Expand description
Represents soft critic for SAC agents.
It takes observations and actions as inputs and outputs action values.
Implementations
Trait Implementations
Trains the network given a loss.
Returns var_store as mutable reference.
Returns var_store.
Auto Trait Implementations
impl<Q> RefUnwindSafe for Critic<Q> where
Q: RefUnwindSafe,
impl<Q> UnwindSafe for Critic<Q> where
Q: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more