d3a99695afb9a7e050ef00c37519b11432c5fa3f,texar/data/data/text_data_base.py,TextDataBase,default_hparams,#,28

Before Change


    def default_hparams():
        Returns a dictionary of default hyperparameters.
        
        return {
            "name": "data",
            "num_epochs": None,
            "batch_size": 64,
            "allow_smaller_final_batch": True,
            "bucket_boundaries": [],
            "bucket_batch_sizes": None,
            "shuffle": True,
            "shuffle_buffer_size": None,
            "shard_and_shuffle": False,
            "num_parallel_calls": 1,
            "prefetch_buffer_size": 0,
            "seed": None
        }

    def _make_dataset(self):
        Creates Dataset instance that defines source filenames, data
        reading and decoding methods, vocabulary, and embedding initial

After Change


    def default_hparams():
        Returns a dictionary of default hyperparameters.
        
        hparams = DataBase.default_hparams()
        hparams.update({
            "bucket_boundaries": [],
            "bucket_batch_sizes": None})
        return hparams
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: asyml/texar
Commit Name: d3a99695afb9a7e050ef00c37519b11432c5fa3f
Time: 2018-03-16
Author: zhitinghu@gmail.com
File Name: texar/data/data/text_data_base.py
Class Name: TextDataBase
Method Name: default_hparams


Project Name: asyml/texar
Commit Name: 9262a00c14949bcf152488270ccb8f001e38d553
Time: 2018-07-27
Author: zhiting.hu@petuum.com
File Name: texar/models/seq2seq/seq2seq_base.py
Class Name: Seq2seqBase
Method Name: default_hparams


Project Name: asyml/texar
Commit Name: 80e9e26deca028ef6b1b51c307b61bb305dc9b1c
Time: 2017-09-04
Author: zhitinghu@gmail.com
File Name: txtgen/data/database.py
Class Name:
Method Name: default_text_dataset_hparams