3e4541881bc659ec4ff59383df917aa319be7cae,test/test_tensorflow_keras.py,TfKerasTests,test_load_model_broadcast,#TfKerasTests#,209

Before Change



            K.clear_session()
            with self.session(config=self.config) as sess:
                K.set_session(sess)

                weight = np.random.random((1, 3))

                if hvd.rank() == 0:

After Change



        with temppath() as fname:
            with self.session(config=self.config) as sess:
                K.set_session(sess)

                model = create_model()

                x = np.random.random((1, 3))
                y = np.random.random((1, 3, 3))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 10

Non-data size: 6

Instances


Project Name: horovod/horovod
Commit Name: 3e4541881bc659ec4ff59383df917aa319be7cae
Time: 2020-07-08
Author: taddair@uber.com
File Name: test/test_tensorflow_keras.py
Class Name: TfKerasTests
Method Name: test_load_model_broadcast


Project Name: horovod/horovod
Commit Name: 3e4541881bc659ec4ff59383df917aa319be7cae
Time: 2020-07-08
Author: taddair@uber.com
File Name: test/test_tensorflow_keras.py
Class Name: TfKerasTests
Method Name: test_elastic_state


Project Name: horovod/horovod
Commit Name: 3e4541881bc659ec4ff59383df917aa319be7cae
Time: 2020-07-08
Author: taddair@uber.com
File Name: test/test_tensorflow_keras.py
Class Name: TfKerasTests
Method Name: test_load_model_custom_optimizers


Project Name: horovod/horovod
Commit Name: 3e4541881bc659ec4ff59383df917aa319be7cae
Time: 2020-07-08
Author: taddair@uber.com
File Name: test/test_tensorflow_keras.py
Class Name: TfKerasTests
Method Name: test_load_model_custom_objects


Project Name: horovod/horovod
Commit Name: 3e4541881bc659ec4ff59383df917aa319be7cae
Time: 2020-07-08
Author: taddair@uber.com
File Name: test/test_tensorflow_keras.py
Class Name: TfKerasTests
Method Name: test_load_model


Project Name: horovod/horovod
Commit Name: 3e4541881bc659ec4ff59383df917aa319be7cae
Time: 2020-07-08
Author: taddair@uber.com
File Name: test/test_tensorflow_keras.py
Class Name: TfKerasTests
Method Name: test_from_config


Project Name: autonomio/talos
Commit Name: 9a8edeb83017782307050e5860243ef69082b393
Time: 2020-01-25
Author: c0L0RC0D3R1976
File Name: talos/utils/gpu_utils.py
Class Name:
Method Name: force_cpu


Project Name: autonomio/talos
Commit Name: 9a8edeb83017782307050e5860243ef69082b393
Time: 2020-01-25
Author: c0L0RC0D3R1976
File Name: talos/utils/gpu_utils.py
Class Name:
Method Name: parallel_gpu_jobs


Project Name: horovod/horovod
Commit Name: 3e4541881bc659ec4ff59383df917aa319be7cae
Time: 2020-07-08
Author: taddair@uber.com
File Name: test/test_tensorflow_keras.py
Class Name: TfKerasTests
Method Name: test_sparse_as_dense


Project Name: horovod/horovod
Commit Name: 3e4541881bc659ec4ff59383df917aa319be7cae
Time: 2020-07-08
Author: taddair@uber.com
File Name: test/test_tensorflow_keras.py
Class Name: TfKerasTests
Method Name: test_train_model