code: def __init__(self, obs_dim, act_dim):
      super(Actor, self).__init__()
      self.multi_discrete = False
      self.ln1 = nn.LayerNorm(obs_dim)
      self.ln2 = nn.LayerNorm(64)
      self.ln3 = nn.LayerNorm(64)
      self.fc1 = nn.Linear(obs_dim, 64)
      self.fc2 = nn.Linear(64, 64)
  
      if isinstance(act_dim, int):
          self.fc3 = nn.Linear(64, act_dim)
      else:
          self.multi_discrete = True
          self.action_outs = []
          for action_dim in act_dim:
              self.action_outs.append(nn.Linear(64, action_dim))
          self.action_outs = nn.ModuleList(self.action_outs)
  
file_path: PARL/benchmark/torch/mappo/simple_model.py
imports: import parl
  import torch.nn
  import torch.nn.functional
label_desc: Use image node_id 1 to create a new Actor object from inherited base classes: parl with example: obj = Actor(obs_dim, act_dim)