Struct border_tch_agent::sac::Actor
source · [−]pub struct Actor<P> where
P: SubModel<Output = (Tensor, Tensor)>,
P::Config: DeserializeOwned + Serialize + OutDim, { /* private fields */ }Expand description
Represents a stochastic policy for SAC agents.
Implementations
Trait Implementations
Trains the network given a loss.
Returns var_store as mutable reference.
Returns var_store.
Auto Trait Implementations
impl<P> RefUnwindSafe for Actor<P> where
P: RefUnwindSafe,
impl<P> UnwindSafe for Actor<P> where
P: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more