5f78106a2d0fd91f6a977d350d999f07b45d5396,fairseq/options.py,,add_dataset_args,#Any#Any#Any#,250

Before Change


    group.add_argument("--required-batch-size-multiple", default=8, type=int, metavar="N",
                       help="batch size will be a multiplier of this value")
    parser.add_argument("--dataset-impl", metavar="FORMAT", help="output dataset implementation",
                        choices=["raw", "lazy", "cached", "mmap"], default="cached")
    if train:
        group.add_argument("--train-subset", default="train", metavar="SPLIT",
                           choices=["train", "valid", "test"],

After Change


    group.add_argument("--required-batch-size-multiple", default=8, type=int, metavar="N",
                       help="batch size will be a multiplier of this value")
    parser.add_argument("--dataset-impl", metavar="FORMAT",
                        choices=get_available_dataset_impl(),
                        help="output dataset implementation")
    if train:
        group.add_argument("--train-subset", default="train", metavar="SPLIT",
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 2

Instances


Project Name: pytorch/fairseq
Commit Name: 5f78106a2d0fd91f6a977d350d999f07b45d5396
Time: 2019-07-21
Author: myleott@fb.com
File Name: fairseq/options.py
Class Name:
Method Name: add_dataset_args


Project Name: elbayadm/attn2d
Commit Name: 5f78106a2d0fd91f6a977d350d999f07b45d5396
Time: 2019-07-21
Author: myleott@fb.com
File Name: scripts/read_binarized.py
Class Name:
Method Name: get_parser


Project Name: elbayadm/attn2d
Commit Name: 5f78106a2d0fd91f6a977d350d999f07b45d5396
Time: 2019-07-21
Author: myleott@fb.com
File Name: fairseq/options.py
Class Name:
Method Name: add_preprocess_args