Skip to content

Commit b4dc28e

Browse files
authored
Merge branch 'main' into atskae/reduce_iterations_usb
2 parents edcdf25 + 6d7a843 commit b4dc28e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

beginner_source/introyt/autogradyt_tutorial.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -250,9 +250,9 @@ class TinyModel(torch.nn.Module):
250250
def __init__(self):
251251
super(TinyModel, self).__init__()
252252

253-
self.layer1 = torch.nn.Linear(1000, 100)
253+
self.layer1 = torch.nn.Linear(DIM_IN, HIDDEN_SIZE)
254254
self.relu = torch.nn.ReLU()
255-
self.layer2 = torch.nn.Linear(100, 10)
255+
self.layer2 = torch.nn.Linear(HIDDEN_SIZE, DIM_OUT)
256256

257257
def forward(self, x):
258258
x = self.layer1(x)

0 commit comments

Comments
 (0)