Skip to content

Commit

Permalink
Parser Official Documentary
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamWu96 authored Nov 18, 2022
1 parent 244e6fc commit 69a72d3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Part_2/14_CNN.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
import time
import os

# Parser Official Documentary
# https://docs.python.org/3/library/argparse.html

#setup training parameters
parser = argparse.ArgumentParser(description='PyTorch MNIST Training')
parser.add_argument('--batch-size', type=int, default=128, metavar='N',
Expand Down

0 comments on commit 69a72d3

Please sign in to comment.