Skip to content

Commit 729c519

Browse files
[ponicode-pull-request] Ponicode wrote new docstrings! (#11)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 1e590de commit 729c519

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

examples/forecasting/run_forecasting.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
99

1010
def parse_args():
11+
"""
12+
Parse command line arguments.
13+
14+
Args:
15+
"""
1116
parser = argparse.ArgumentParser()
1217
parser.add_argument("--batch-size", default=config["batch_size"], type=int, help="batch size")
1318
parser.add_argument("--output-size", default=config["output_size"], type=int,

examples/reconstruction/run_reconstruction.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
device = torch.device('cuda' if torch.cuda.is_available() else 'cpu')
99

1010
def parse_args():
11+
"""
12+
Parse command line arguments.
13+
14+
Args:
15+
"""
1116
parser = argparse.ArgumentParser()
1217
parser.add_argument("--batch-size", default=config["batch_size"], type=int, help="batch size")
1318
parser.add_argument("--output-size", default=config["output_size"], type=int,

0 commit comments

Comments
 (0)