Exemple #1
0
// Dump writes GBRBM parameters to file in json format.
func (rbm *GBRBM) Dump(filename string) error {
	rbm.PersistentVisibleUnits = nil
	return nnet.DumpAsJson(filename, rbm)
}
Exemple #2
0
func (d *MLP) Dump(filename string) error {
	return nnet.DumpAsJson(filename, d)
}
Exemple #3
0
// Dump writes Neural Network parameters to file in json format.
func (net *NeuralNetwork) Dump(filename string) error {
	return nnet.DumpAsJson(filename, net)
}