MCPcopy Create free account
hub / github.com/lazyprogrammer/machine_learning_examples / copy_from

Method copy_from

rl2/atari/dqn_theano.py:302–307  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

300 )
301
302 def copy_from(self, other):
303 my_params = self.params
304 other_params = other.params
305 for p, q in zip(my_params, other_params):
306 actual = q.get_value()
307 p.set_value(actual)
308
309 def predict(self, X):
310 return self.predict_op(X)

Callers 1

play_oneFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected