This commit is contained in:
NiiiCo 2021-05-30 21:47:39 +02:00
parent 09ec5c7e62
commit 904dd72178
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ mini_batch_size = 10
def shallow(n=3, epochs=60):
nets = []
for j in range(n):
print "A shallow net with 100 hidden neurons"
print("A shallow net with 100 hidden neurons")
net = Network([
FullyConnectedLayer(n_in=784, n_out=100),
SoftmaxLayer(n_in=100, n_out=10)], mini_batch_size)