forked from MorvanZhou/PyTorch-Tutorial
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 5b1d191
authored
302 - remove .squeeze() from 1-D numpy array
prediction.data.numpy() is already 1-D, so the .squeeze() is unnecessary.1 parent 906cf71 commit 5b1d191
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | - | ||
62 | + | ||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | - | ||
70 | + | ||
0 commit comments