module_opt#


class ModuleOpt(module: Module, optim: Optimizer)[source]#

Bases: object

Container for a torch module along with its optimizer.

module: Module#
optim: Optimizer#
class ActorCriticOpt(actor_critic_module: ActorCritic, optim: Optimizer)[source]#

Bases: object

Container for an ActorCritic instance along with its optimizer.

actor_critic_module: ActorCritic#
optim: Optimizer#
property actor: Module#
property critic: Module#