Skip to content

SupportsNoiseReset ​

Structural type for a torch module that also supports DQN noisy-network reset.

Covers self._learner_model, which may be wrapped by torch.compile() (not nominally a DQNModel, but its wrapper proxies attribute access to one).

Source

Methods ​

load_state_dict ​

python
load_state_dict(state_dict: dict[str, Any]) -> Any

Source

reset_noise ​

python
reset_noise() -> None

Source

state_dict ​

python
state_dict() -> dict[str, Any]

Source