code: def __init__(self, algorithm, config):
      self.config = config
      super(MujocoAgent, self).__init__(algorithm)
      self.obs_shape = config["obs_dim"]
      weights = self.get_weights()
      self.weights_name = list(weights.keys())
      weights = list(weights.values())
      self.weights_shapes = [x.shape for x in weights]
      self.weights_total_size = np.sum(
          [np.prod(x) for x in self.weights_shapes]
      )
      self.optimizer = Adam(
          self.weights_total_size, self.config["stepsize"]
      )
  
file_path: PARL/benchmark/torch/ES/mujoco_agent.py
imports: import numpy
  import torch
  import parl
  import utils
  from optimizers import Adam
label_desc: Use image node_id 1 to create a new MujocoAgent object from inherited base classes: parl with example: obj = MujocoAgent(algorithm, config)