247598d255f926b6adfada1cbfde909ca3d801ba,torchtext/datasets/imdb.py,IMDB,splits,#Any#Any#Any#Any#Any#Any#,39

Before Change


            os.path.join(path, train), text_field, label_field, **kwargs)
        test_data = None if test is None else cls(
            os.path.join(path, test), text_field, label_field, **kwargs)
        return tuple(d for d in (train_data, test_data)
                     if d is not None)

    @classmethod
    def iters(cls, batch_size=32, device=0, root=".data", vectors=None, **kwargs):
        Creater iterator objects for splits of the IMDB dataset.

After Change


            Remaining keyword arguments: Passed to the splits method of
                Dataset.
        
        return super(IMDB, cls).splits(
            root=root, text_field=text_field, label_field=label_field,
            train=train, validation=None, test=test, **kwargs)

    @classmethod
    def iters(cls, batch_size=32, device=0, root=".data", vectors=None, **kwargs):
        Creater iterator objects for splits of the IMDB dataset.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: pytorch/text
Commit Name: 247598d255f926b6adfada1cbfde909ca3d801ba
Time: 2017-10-15
Author: jekbradbury@gmail.com
File Name: torchtext/datasets/imdb.py
Class Name: IMDB
Method Name: splits


Project Name: pytorch/text
Commit Name: 247598d255f926b6adfada1cbfde909ca3d801ba
Time: 2017-10-15
Author: jekbradbury@gmail.com
File Name: torchtext/datasets/trec.py
Class Name: TREC
Method Name: splits


Project Name: analysiscenter/batchflow
Commit Name: 98d1d7a0ad751fd91e6ec9c8ec6668bdea877cd1
Time: 2017-06-14
Author: rhudor@gmail.com
File Name: dataset/batch_image.py
Class Name: ImagesBatch
Method Name: load