Skip to content

Commit

Permalink
Docs: Fix typos in README (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
rgb000000 authored May 24, 2021
1 parent 9cf09a1 commit 2d65dcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@ class QuantWeightLeNet(Module):
self.fc3 = qnn.QuantLinear(84, 10, bias=False, weight_bit_width=3)

def forward(self, x):
out = self.relu1(self.conv1(out))
out = self.relu1(self.conv1(x))
out = F.max_pool2d(out, 2)
out = self.relu2(self.conv2(out))
out = F.max_pool2d(out, 2)
out = out.reshape(out.reshape[0], -1)
out = out.reshape(out.shape[0], -1)
out = self.relu3(self.fc1(out))
out = self.relu4(self.fc2(out))
out = self.fc3(out)
Expand Down

0 comments on commit 2d65dcd

Please sign in to comment.