code: def __init__(self, obs_dim, vel_obs_dim, act_dim, model_id, shared):
      hid0_size = 800
      hid1_size = 400
      hid2_size = 200
      vel_hid0_size = 200
      vel_hid1_size = 400
  
      self.obs_dim = obs_dim
      self.vel_obs_dim = vel_obs_dim
  
      # bottom layers
      if shared:
          scope_name = "policy_shared"
      else:
          scope_name = "policy_identity_{}".format(model_id)
  
      self.fc0 = layers.fc(
          size=hid0_size,
          act="tanh",
          param_attr=ParamAttr(name="{}/h0/W".format(scope_name)),
          bias_attr=ParamAttr(name="{}/h0/b".format(scope_name)),
      )
      self.fc1 = layers.fc(
          size=hid1_size,
          act="tanh",
          param_attr=ParamAttr(name="{}/h1/W".format(scope_name)),
          bias_attr=ParamAttr(name="{}/h1/b".format(scope_name)),
      )
      self.vel_fc0 = layers.fc(
          size=vel_hid0_size,
          act="tanh",
          param_attr=ParamAttr(name="{}/vel_h0/W".format(scope_name)),
          bias_attr=ParamAttr(name="{}/vel_h0/b".format(scope_name)),
      )
      self.vel_fc1 = layers.fc(
          size=vel_hid1_size,
          act="tanh",
          param_attr=ParamAttr(name="{}/vel_h1/W".format(scope_name)),
          bias_attr=ParamAttr(name="{}/vel_h1/b".format(scope_name)),
      )
  
      # top layers
      scope_name = "policy_identity_{}".format(model_id)
  
      self.fc2 = layers.fc(
          size=hid2_size,
          act="tanh",
          param_attr=ParamAttr(name="{}/h2/W".format(scope_name)),
          bias_attr=ParamAttr(name="{}/h2/b".format(scope_name)),
      )
      self.fc3 = layers.fc(
          size=act_dim,
          act="tanh",
          param_attr=ParamAttr(name="{}/means/W".format(scope_name)),
          bias_attr=ParamAttr(name="{}/means/b".format(scope_name)),
      )
  
file_path: PARL/examples/NeurIPS2018-AI-for-Prosthetics-Challenge/opensim_model.py
imports: import parl
  from parl import layers
  from paddle import fluid
  from paddle.fluid.param_attr import ParamAttr
label_desc: Use image node_id 1 to create a new ActorModel object from inherited base classes: parl with example: obj = ActorModel(obs_dim, vel_obs_dim, act_dim, model_id, shared)