7da1523053f2e5f4fa15c87e019b3244c8653a53,tests/keras/test_constraints.py,,,#,71
Before Change
largest_difference = np.max(np.abs(difference))
assert np.abs(largest_difference) < 10e-5
if __name__ == "__main__":
unittest.main()
After Change
test_values = [0.1, 0.5, 3, 8, 1e-7]
np.random.seed(3537)
example_array = np.random.random((100, 100)) * 100. - 50.
example_array[0, 0] = 0. // 0 could possibly cause trouble
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 6
Instances
Project Name: keras-team/keras
Commit Name: 7da1523053f2e5f4fa15c87e019b3244c8653a53
Time: 2015-12-09
Author: francois.chollet@gmail.com
File Name: tests/keras/test_constraints.py
Class Name:
Method Name:
Project Name: mortendahl/tf-encrypted
Commit Name: 61536e018f7df92e63f61d3e93feb6325a490f49
Time: 2019-05-20
Author: jason@dropoutlabs.com
File Name: tf_encrypted/keras/layers/convolutional_test.py
Class Name:
Method Name:
Project Name: mortendahl/tf-encrypted
Commit Name: 61536e018f7df92e63f61d3e93feb6325a490f49
Time: 2019-05-20
Author: jason@dropoutlabs.com
File Name: tf_encrypted/keras/layers/dense_test.py
Class Name:
Method Name:
Project Name: keras-team/keras
Commit Name: 21f0bfa239c2250f3459aa3fc011cc3f4c814e03
Time: 2015-08-24
Author: francois.chollet@gmail.com
File Name: tests/auto/test_loss_masking.py
Class Name:
Method Name:
Project Name: SheffieldML/GPy
Commit Name: 146d7e2458cbfc69f8303b0b413e50cebf7fd7f7
Time: 2013-05-17
Author: alan.daniel.saul@gmail.com
File Name: GPy/testing/laplace_approx_tests.py
Class Name:
Method Name:
Project Name: apple/coremltools
Commit Name: 1a8bcb34a4d58c97c1bdbf731994b6e0b6782419
Time: 2019-12-11
Author: bsonawane@apple.com
File Name: coremltools/test/neural_network/test_graph_passes.py
Class Name:
Method Name: