116e474be75cdcf4c1d53b1c6540097766671b18,ludwig/models/model.py,Model,__init__,#Model#Any#Any#Any#Any#Any#Any#Any#Any#,82

Before Change


            **kwargs
    ):
        self.horovod = None
        if use_horovod:
            import horovod.tensorflow
            self.horovod = horovod.tensorflow
            from mpi4py import MPI
            self.comm = MPI.COMM_WORLD

        self.debug = debug
        self.weights_save_path = None
        self.hyperparameters = {}
        self.session = None

After Change


        self.hyperparameters["random_seed"] = random_seed
        self.hyperparameters.update(kwargs)

        tf.set_random_seed(random_seed)

        self.ecd = ECD(input_features, combiner, output_features)

        // ================ Optimizer ================
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: uber/ludwig
Commit Name: 116e474be75cdcf4c1d53b1c6540097766671b18
Time: 2020-03-27
Author: jimthompson5802@aol.com
File Name: ludwig/models/model.py
Class Name: Model
Method Name: __init__


Project Name: tryolabs/luminoth
Commit Name: c502090b72bbca53b89c093d38fee98fda3a9c93
Time: 2017-09-19
Author: javirey@gmail.com
File Name: luminoth/eval.py
Class Name:
Method Name: evaluate


Project Name: OpenNMT/OpenNMT-py
Commit Name: 02b3976d1c39e5f08b5ec560691b6abd796d415b
Time: 2019-01-14
Author: daphneipp@gmail.com
File Name: onmt/train_single.py
Class Name:
Method Name: training_opt_postprocessing