Skip to content

Commit

Permalink
Merge branch 'stage'
Browse files Browse the repository at this point in the history
  • Loading branch information
Johannes committed Aug 14, 2024
2 parents a9713a8 + 89cde77 commit 59e8b16
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
.PHONY: quality
.PHONY: quality style

# Check code formatting
quality:
python utils/code_formatter.py --check_only
python utils/code_formatter.py --check_only

# Format code samples automatically and check if there are any problems left that need manual fixing
style:
python utils/code_formatter.py
2 changes: 1 addition & 1 deletion chapters/en/unit2/cnns/vgg.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ class VGG19(nn.Module):

def forward(self, x):
x = self.feature_extractor(x) # Pass input through the feature extractor layers
x = self.avgpool(x) # Pass Data through a pooling layer
x = self.avgpool(x) # Pass Data through a pooling layer
x = x.view(x.size(0), -1) # Flatten the output for the fully connected layers
x = self.classifier(x) # Pass flattened output through the classifier layers
return x
Expand Down

0 comments on commit 59e8b16

Please sign in to comment.