decbad8a06f07b71f083d339d9132840907ba3bd,research/object_detection/builders/hyperparams_builder_test.py,HyperparamsBuilderTest,test_variance_in_range_with_variance_scaling_initializer_fan_avg,#HyperparamsBuilderTest#,414

Before Change


    scope_fn = hyperparams_builder.build(conv_hyperparams_proto,
                                         is_training=True)
    scope = scope_fn()
    conv_scope_arguments = scope.values()[0]
    initializer = conv_scope_arguments["weights_initializer"]
    self._assert_variance_in_range(initializer, shape=[100, 40],
                                   variance=4. / (100. + 40.))

After Change


    scope_fn = hyperparams_builder.build(conv_hyperparams_proto,
                                         is_training=True)
    scope = scope_fn()
    conv_scope_arguments = scope[_get_scope_key(slim.conv2d)]
    initializer = conv_scope_arguments["weights_initializer"]
    self._assert_variance_in_range(initializer, shape=[100, 40],
                                   variance=4. / (100. + 40.))
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 11

Non-data size: 6

Instances


Project Name: tensorflow/models
Commit Name: decbad8a06f07b71f083d339d9132840907ba3bd
Time: 2018-04-13
Author: lzc@google.com
File Name: research/object_detection/builders/hyperparams_builder_test.py
Class Name: HyperparamsBuilderTest
Method Name: test_variance_in_range_with_variance_scaling_initializer_fan_avg


Project Name: tensorflow/models
Commit Name: decbad8a06f07b71f083d339d9132840907ba3bd
Time: 2018-04-13
Author: lzc@google.com
File Name: research/object_detection/builders/hyperparams_builder_test.py
Class Name: HyperparamsBuilderTest
Method Name: test_variance_in_range_with_random_normal_initializer


Project Name: tensorflow/models
Commit Name: decbad8a06f07b71f083d339d9132840907ba3bd
Time: 2018-04-13
Author: lzc@google.com
File Name: research/object_detection/builders/hyperparams_builder_test.py
Class Name: HyperparamsBuilderTest
Method Name: test_variance_in_range_with_truncated_normal_initializer


Project Name: tensorflow/models
Commit Name: decbad8a06f07b71f083d339d9132840907ba3bd
Time: 2018-04-13
Author: lzc@google.com
File Name: research/object_detection/builders/hyperparams_builder_test.py
Class Name: HyperparamsBuilderTest
Method Name: test_variance_in_range_with_variance_scaling_initializer_uniform


Project Name: tensorflow/models
Commit Name: decbad8a06f07b71f083d339d9132840907ba3bd
Time: 2018-04-13
Author: lzc@google.com
File Name: research/object_detection/builders/hyperparams_builder_test.py
Class Name: HyperparamsBuilderTest
Method Name: test_variance_in_range_with_variance_scaling_initializer_fan_out


Project Name: tensorflow/models
Commit Name: decbad8a06f07b71f083d339d9132840907ba3bd
Time: 2018-04-13
Author: lzc@google.com
File Name: research/object_detection/builders/hyperparams_builder_test.py
Class Name: HyperparamsBuilderTest
Method Name: test_variance_in_range_with_variance_scaling_initializer_fan_in


Project Name: tensorflow/models
Commit Name: decbad8a06f07b71f083d339d9132840907ba3bd
Time: 2018-04-13
Author: lzc@google.com
File Name: research/object_detection/builders/hyperparams_builder_test.py
Class Name: HyperparamsBuilderTest
Method Name: test_do_not_use_batch_norm_if_default


Project Name: tensorflow/models
Commit Name: decbad8a06f07b71f083d339d9132840907ba3bd
Time: 2018-04-13
Author: lzc@google.com
File Name: research/object_detection/builders/hyperparams_builder_test.py
Class Name: HyperparamsBuilderTest
Method Name: test_return_l2_regularizer_weights


Project Name: tensorflow/models
Commit Name: decbad8a06f07b71f083d339d9132840907ba3bd
Time: 2018-04-13
Author: lzc@google.com
File Name: research/object_detection/builders/hyperparams_builder_test.py
Class Name: HyperparamsBuilderTest
Method Name: test_use_relu_6_activation


Project Name: tensorflow/models
Commit Name: decbad8a06f07b71f083d339d9132840907ba3bd
Time: 2018-04-13
Author: lzc@google.com
File Name: research/object_detection/builders/hyperparams_builder_test.py
Class Name: HyperparamsBuilderTest
Method Name: test_use_relu_activation


Project Name: tensorflow/models
Commit Name: decbad8a06f07b71f083d339d9132840907ba3bd
Time: 2018-04-13
Author: lzc@google.com
File Name: research/object_detection/builders/hyperparams_builder_test.py
Class Name: HyperparamsBuilderTest
Method Name: test_use_none_activation