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

Method save

unsupervised_class2/unsupervised.py:100–102  ·  view source on GitHub ↗
(self, filename)

Source from the content-addressed store, hash-verified

98 return X.get_value()
99
100 def save(self, filename):
101 arrays = [p.get_value() for layer in self.hidden_layers for p in layer.params]
102 np.savez(filename, *arrays)
103
104 @staticmethod
105 def load(filename, UnsupervisedModel=AutoEncoder):

Callers 2

mainFunction · 0.95
imsaveFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected