MCPcopy Index your code
hub / github.com/lazyprogrammer/machine_learning_examples / get_params_dict

Method get_params_dict

rl3/es_mujoco.py:74–80  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

72 return np.concatenate([self.W1.flatten(), self.b1, self.W2.flatten(), self.b2])
73
74 def get_params_dict(self):
75 return {
76 'W1': self.W1,
77 'b1': self.b1,
78 'W2': self.W2,
79 'b2': self.b2,
80 }
81
82 def set_params(self, params):
83 # params is a flat list

Callers 1

es_mujoco.pyFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected