Skip to content

Commit fde3a65

Browse files
authored
Update gradient_simplenet.py
1 parent 911528e commit fde3a65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ch04/gradient_simplenet.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ def loss(self, x, t):
2020

2121
return loss
2222

23-
x = np.random.rand(2)
24-
t = np.array([0,0,1])
23+
x = np.array([0.6, 0.9])
24+
t = np.array([0, 0, 1])
2525

2626
net = simpleNet()
2727

0 commit comments

Comments
 (0)