remove debug
This commit is contained in:
parent
eee503a405
commit
f30f465e89
|
@ -2,7 +2,6 @@ package nn
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
|
||||||
"gonum.org/v1/gonum/mat"
|
"gonum.org/v1/gonum/mat"
|
||||||
"io"
|
"io"
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
|
@ -91,7 +90,6 @@ func (net *Network) UnmarshalJSON(in []byte) error {
|
||||||
for _, layer := range net.layers {
|
for _, layer := range net.layers {
|
||||||
net.neurons = append(net.neurons, mat.NewDense(int(layer), 1, nil))
|
net.neurons = append(net.neurons, mat.NewDense(int(layer), 1, nil))
|
||||||
}
|
}
|
||||||
fmt.Printf("neurons: %v\n", net.neurons)
|
|
||||||
|
|
||||||
// extract into the current network receiver (net)
|
// extract into the current network receiver (net)
|
||||||
return nil
|
return nil
|
||||||
|
|
Loading…
Reference in New Issue