class_docstr: TorchActorCritic with structured policy and critic, loaded from disk.
  
  Will build the models based on the model composer and spaces config and set the state of individual
  policies according to the state dict dump.
  
  Policies are set to eval mode by default.
  
  :param model: Model composer configuration
  :param state_dict_file: Path to dumped state dictionaries of the trained policies
  :param spaces_dict_file: Path to dumped spaces configuration (action and observation spaces of
                                the env the policy was trained on, used for model initialization)
class_docstr_tok: ["TorchActorCritic","with","structured","policy","and","critic",",","loaded","from","disk",".","Will","build","the","models","based","on","the","model","composer","and","spaces","config","and","set","the","state","of","individual","policies","according","to","the","state","dict","dump",".","Policies","are","set","to","eval","mode","by","default",".",":","param","model",":","Model","composer","configuration",":","param","state_dict_file",":","Path","to","dumped","state","dictionaries","of","the","trained","policies",":","param","spaces_dict_file",":","Path","to","dumped","spaces","configuration","(","action","and","observation","spaces","of","the","env","the","policy","was","trained","on",",","used","for","model","initialization",")"]
docstr: Set torch manual seed
  
  :param seed: The seed to set.
docstr_tok: ["Set","torch","manual","seed",":","param","seed",":","The","seed","to","set","."]
code: def seed(self, seed: int):
      """Set torch manual seed
  
      :param seed: The seed to set.
      """
      torch.manual_seed(seed)
  
file_path: maze/maze/core/agent/serialized_actor_critic.py
imports: from typing import Union, Dict
  import torch
  from omegaconf import DictConfig
  from maze.core.agent.torch_actor_critic import TorchActorCritic
  from maze.core.utils.factory import Factory
  from maze.perception.models.model_composer import BaseModelComposer
  from maze.perception.models.space_config import SpacesConfig
label_desc: Use image node_id 2 for calling the SerializedActorCritic obj's underlying member method code with example usage: obj.seed(seed) without return types