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

Method save_weights

rl/linear_rl_trader.py:104–105  ·  view source on GitHub ↗
(self, filepath)

Source from the content-addressed store, hash-verified

102 self.b = npz['b']
103
104 def save_weights(self, filepath):
105 np.savez(filepath, W=self.W, b=self.b)
106
107
108

Callers 1

saveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected