6f539ad2324ddccc18b6ac39e4a2f4aeb12173a2,tests/test_layers_normalization.py,,,#,17
Before Change
x = tf.placeholder(tf.float32, [None, 100, 100, 3])
net = model(x, True, False)
_ = model(x, False, True)
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
// tf.logging.set_verbosity(tf.logging.INFO)
tf.logging.set_verbosity(tf.logging.DEBUG)
unittest.main()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
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: stanfordnlp/stanza
Commit Name: 9cac004f43a74d77f8fdc3ad45bfc3cfcf300357
Time: 2020-11-27
Author: horatio@gmail.com
File Name: stanza/utils/prepare_mwt_treebank.py
Class Name:
Method Name: main
Project Name: stanfordnlp/stanza
Commit Name: 9cac004f43a74d77f8fdc3ad45bfc3cfcf300357
Time: 2020-11-27
Author: horatio@gmail.com
File Name: stanza/utils/prepare_tokenizer_treebank.py
Class Name:
Method Name: main