pub struct DqnModel<Q>{ /* private fields */ }Expand description
Action value function model for DQN.
The architecture of the model is defined by the type parameter Q,
which should implement SubModel.
This takes SubModel::Input as input and outputs a tensor.
The output tensor should have the same dimension as the number of actions.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<Q> Freeze for DqnModel<Q>
impl<Q> RefUnwindSafe for DqnModel<Q>
impl<Q> Send for DqnModel<Q>
impl<Q> !Sync for DqnModel<Q>
impl<Q> Unpin for DqnModel<Q>
impl<Q> UnwindSafe for DqnModel<Q>
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