6f539ad2324ddccc18b6ac39e4a2f4aeb12173a2,tests/test_layers_spatial_transformer.py,,,#,30
Before Change
if shape[1:] != [40, 40, 1]:
raise Exception("shape do not match")
if len(net.all_layers) != 9:
raise Exception("layers do not match")
if len(net.all_params) != 12:
raise Exception("params do not match")
if net.count_params() != 1667980:
raise Exception("params do not match")
After Change
self.assertEqual(self.net_n_params, 1667980)
if __name__ == "__main__":
// tf.logging.set_verbosity(tf.logging.INFO)
tf.logging.set_verbosity(tf.logging.DEBUG)
unittest.main()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
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: keras-team/keras
Commit Name: cab77c8f23bf81eaa06aeeeb28a4da3b716f7bd7
Time: 2017-10-25
Author: julien.rebetez@gmail.com
File Name: keras/utils/layer_utils.py
Class Name:
Method Name: print_summary