Skip to content

Commit

Permalink
add ast for lists
Browse files Browse the repository at this point in the history
  • Loading branch information
Padarn committed Jul 9, 2022
1 parent 4f0df80 commit 17a5f88
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions benchmark/loader/neighbor_loader.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import argparse
import ast
import os.path as osp
from timeit import default_timer

Expand Down Expand Up @@ -88,9 +89,9 @@ def run(args: argparse.ArgumentParser) -> None:
add('--eval-batch-sizes', default=[16384, 8192, 4096, 2048, 1024, 512],
type=int, nargs='+')
add('--homo-neighbor_sizes', default=[[10, 5], [15, 10, 5], [20, 15, 10]],
type=int, nargs='+')
add('--hetero-neighbor_sizes', default=[[5], [10], [10, 5]], type=int,
nargs='+')
type=ast.literal_eval)
add('--hetero-neighbor_sizes', default=[[5], [10], [10, 5]],
type=ast.literal_eval)
add('--num-workers', default=0)
add('--runs', default=3)

Expand Down

0 comments on commit 17a5f88

Please sign in to comment.