100c57cec31061196ae9a045952b0f1ef5482fff,test/graph_builder_test/graph_test/frontend_test/sub_rules_test/affine_concat_test.py,,test_conv_bias_scale,#,214

Before Change



        b_shape = [h.shape_dict[Axis.C]]
        b_size: int = np.prod(b_shape)
        b_data = np.arange(b_size).reshape(b_shape)
        b = ConstantVariable(b_data.copy(), OrderC)
        h, = bias(h, b)

        s_shape = [h.shape_dict[Axis.C]]
        s_size: int = np.prod(s_shape)
        s_data = np.arange(s_size).reshape(s_shape)
        s = ConstantVariable(s_data.copy(), OrderC)
        y, = scale(h, s)

        graph = Graph([x], [y])

After Change



        b_shape = [h.shape_dict[Axis.C]]
        b_size: int = np.prod(b_shape)
        b = ConstantVariable(np.arange(b_size).reshape(b_shape), OrderC)
        b_data = b.data.copy()
        h, = bias(h, b)

        s_shape = [h.shape_dict[Axis.C]]
        s_size: int = np.prod(s_shape)
        s = ConstantVariable(np.arange(s_size).reshape(s_shape), OrderC)
        s_data = s.data.copy()
        y, = scale(h, s)

        graph = Graph([x], [y])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 18

Instances


Project Name: mil-tokyo/webdnn
Commit Name: 100c57cec31061196ae9a045952b0f1ef5482fff
Time: 2017-05-05
Author: y.kikura@gmail.com
File Name: test/graph_builder_test/graph_test/frontend_test/sub_rules_test/affine_concat_test.py
Class Name:
Method Name: test_conv_bias_scale


Project Name: mil-tokyo/webdnn
Commit Name: 100c57cec31061196ae9a045952b0f1ef5482fff
Time: 2017-05-05
Author: y.kikura@gmail.com
File Name: test/graph_builder_test/graph_test/frontend_test/sub_rules_test/affine_concat_test.py
Class Name:
Method Name: test_conv_bias_bias


Project Name: mil-tokyo/webdnn
Commit Name: 100c57cec31061196ae9a045952b0f1ef5482fff
Time: 2017-05-05
Author: y.kikura@gmail.com
File Name: test/graph_builder_test/graph_test/frontend_test/sub_rules_test/affine_concat_test.py
Class Name:
Method Name: test_conv_scale_bias


Project Name: mil-tokyo/webdnn
Commit Name: 100c57cec31061196ae9a045952b0f1ef5482fff
Time: 2017-05-05
Author: y.kikura@gmail.com
File Name: test/graph_builder_test/graph_test/frontend_test/sub_rules_test/affine_concat_test.py
Class Name:
Method Name: test_conv_scale_scale


Project Name: mil-tokyo/webdnn
Commit Name: 100c57cec31061196ae9a045952b0f1ef5482fff
Time: 2017-05-05
Author: y.kikura@gmail.com
File Name: test/graph_builder_test/graph_test/frontend_test/sub_rules_test/affine_concat_test.py
Class Name:
Method Name: test_conv_bias_scale