test
This commit is contained in:
parent
09ec5c7e62
commit
904dd72178
|
@ -28,7 +28,7 @@ mini_batch_size = 10
|
||||||
def shallow(n=3, epochs=60):
|
def shallow(n=3, epochs=60):
|
||||||
nets = []
|
nets = []
|
||||||
for j in range(n):
|
for j in range(n):
|
||||||
print "A shallow net with 100 hidden neurons"
|
print("A shallow net with 100 hidden neurons")
|
||||||
net = Network([
|
net = Network([
|
||||||
FullyConnectedLayer(n_in=784, n_out=100),
|
FullyConnectedLayer(n_in=784, n_out=100),
|
||||||
SoftmaxLayer(n_in=100, n_out=10)], mini_batch_size)
|
SoftmaxLayer(n_in=100, n_out=10)], mini_batch_size)
|
||||||
|
|
Loading…
Reference in New Issue