Struct border_tch_agent::dqn::DQNModel
source · [−]pub struct DQNModel<Q> where
Q: SubModel<Output = Tensor>,
Q::Config: DeserializeOwned + Serialize + OutDim, { /* private fields */ }Expand description
Represents value functions for DQN agents.
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 DQNModel<Q> where
Q: RefUnwindSafe,
impl<Q> UnwindSafe for DQNModel<Q> where
Q: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more