69e3319c4bffaa78823be2267f036d3d3fdf286e,tests/test_activations.py,Test_Leaky_ReLUs,test_sign,#Test_Leaky_ReLUs#,106

Before Change


            else:
                good_output = 1

            computed_output = self.sess.run(self.sign_out, feed_dict={self.input_var: i})

            self.assertAlmostEqual(computed_output, good_output, places=5)

    def test_swish(self):

After Change


            else:
                good_output = 1

            computed_output = tl.act.sign(float(i))

            self.assertAlmostEqual(computed_output.numpy(), good_output, places=5)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 6

Instances


Project Name: tensorlayer/tensorlayer
Commit Name: 69e3319c4bffaa78823be2267f036d3d3fdf286e
Time: 2019-03-19
Author: jingqing.zhang15@imperial.ac.uk
File Name: tests/test_activations.py
Class Name: Test_Leaky_ReLUs
Method Name: test_sign


Project Name: tensorlayer/tensorlayer
Commit Name: 69e3319c4bffaa78823be2267f036d3d3fdf286e
Time: 2019-03-19
Author: jingqing.zhang15@imperial.ac.uk
File Name: tests/test_activations.py
Class Name: Test_Leaky_ReLUs
Method Name: test_swish


Project Name: tensorlayer/tensorlayer
Commit Name: 69e3319c4bffaa78823be2267f036d3d3fdf286e
Time: 2019-03-19
Author: jingqing.zhang15@imperial.ac.uk
File Name: tests/test_activations.py
Class Name: Test_Leaky_ReLUs
Method Name: test_ramp


Project Name: tensorlayer/tensorlayer
Commit Name: 69e3319c4bffaa78823be2267f036d3d3fdf286e
Time: 2019-03-19
Author: jingqing.zhang15@imperial.ac.uk
File Name: tests/test_activations.py
Class Name: Test_Leaky_ReLUs
Method Name: test_lrelu6


Project Name: tensorlayer/tensorlayer
Commit Name: 69e3319c4bffaa78823be2267f036d3d3fdf286e
Time: 2019-03-19
Author: jingqing.zhang15@imperial.ac.uk
File Name: tests/test_activations.py
Class Name: Test_Leaky_ReLUs
Method Name: test_ltrelu6


Project Name: tensorlayer/tensorlayer
Commit Name: 69e3319c4bffaa78823be2267f036d3d3fdf286e
Time: 2019-03-19
Author: jingqing.zhang15@imperial.ac.uk
File Name: tests/test_activations.py
Class Name: Test_Leaky_ReLUs
Method Name: test_lrelu