6f539ad2324ddccc18b6ac39e4a2f4aeb12173a2,tests/test_layers_normalization.py,,,#,17

Before Change


net.print_layers()
net.print_params(False)

if len(net.all_layers) != 6:
    raise Exception("layers do not match")

if len(net.all_params) != 12:
    raise Exception("params do not match")

if net.count_params() != 60560:
    raise Exception("params do not match")

After Change


        self.assertEqual(self.data["train_network"]["n_params"], 60560)


if __name__ == "__main__":

    // tf.logging.set_verbosity(tf.logging.INFO)
    tf.logging.set_verbosity(tf.logging.DEBUG)

    unittest.main()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 8

Instances


Project Name: tensorlayer/tensorlayer
Commit Name: 6f539ad2324ddccc18b6ac39e4a2f4aeb12173a2
Time: 2018-04-17
Author: DEKHTIARJonathan@users.noreply.github.com
File Name: tests/test_layers_normalization.py
Class Name:
Method Name:


Project Name: tensorlayer/tensorlayer
Commit Name: 6f539ad2324ddccc18b6ac39e4a2f4aeb12173a2
Time: 2018-04-17
Author: DEKHTIARJonathan@users.noreply.github.com
File Name: tests/test_layers_spatial_transformer.py
Class Name:
Method Name:


Project Name: tensorlayer/tensorlayer
Commit Name: 6f539ad2324ddccc18b6ac39e4a2f4aeb12173a2
Time: 2018-04-17
Author: DEKHTIARJonathan@users.noreply.github.com
File Name: tests/test_layers_normalization.py
Class Name:
Method Name:


Project Name: tryolabs/luminoth
Commit Name: e9524b70faad78477ca9ac924097edd2e0a2a01a
Time: 2017-08-24
Author: aazzinnari@gmail.com
File Name: luminoth/eval.py
Class Name:
Method Name: evaluate