Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ get_params
Method
get_params
rl3/es_mujoco.py:70–72 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
68
return
Y[0]
# the first row
69
70
def
get_params(self):
71
# return a flat array of parameters
72
return
np.concatenate([self.W1.flatten(), self.b1, self.W2.flatten(), self.b2])
73
74
def
get_params_dict(self):
75
return
{
Callers
1
es_mujoco.py
File · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected