8755c48bb903005a7e819998d51ba41ba892814f,test/graph_builder_test/graph_test/frontend_test/sub_rules_test/concat_affine_test.py,,test_conv_scale_scale,#,110

Before Change



        w_shape = [4, 3, 3, 5]
        w_size: int = np.prod(w_shape)
        w = ConstantVariable(np.arange(w_size).reshape(w_shape), OrderNHWC)
        w.change_axis_order(order_w)
        w_data = w.data.copy()
        h, = conv(x, w)

        s1_shape = [h.shape_dict[Axis.C]]
        s1_size: int = np.prod(s1_shape)
        s1 = ConstantVariable(np.arange(s1_size).reshape(s1_shape), OrderC)
        s1_data = s1.data.copy()
        h, = scale1(h, s1)

        s2_shape = [h.shape_dict[Axis.C]]
        s2_size: int = np.prod(s2_shape)
        s2 = ConstantVariable(np.arange(s2_size).reshape(s2_shape), OrderC)
        s2_data = s2.data.copy()
        y, = scale2(h, s2)

After Change



        s2_shape = [h.shape_dict[Axis.C]]
        s2_size: int = np.prod(s2_shape)
        s2 = ConstantVariable(arange_shaped(s2_shape), OrderC)
        s2_data = s2.data.copy()
        y, = scale2(h, s2)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 10

Instances


Project Name: mil-tokyo/webdnn
Commit Name: 8755c48bb903005a7e819998d51ba41ba892814f
Time: 2017-05-07
Author: hidaka@mi.t.u-tokyo.ac.jp
File Name: test/graph_builder_test/graph_test/frontend_test/sub_rules_test/concat_affine_test.py
Class Name:
Method Name: test_conv_scale_scale


Project Name: mil-tokyo/webdnn
Commit Name: 8755c48bb903005a7e819998d51ba41ba892814f
Time: 2017-05-07
Author: hidaka@mi.t.u-tokyo.ac.jp
File Name: test/graph_builder_test/graph_test/frontend_test/sub_rules_test/concat_affine_test.py
Class Name:
Method Name: test_conv_bias_scale


Project Name: mil-tokyo/webdnn
Commit Name: 8755c48bb903005a7e819998d51ba41ba892814f
Time: 2017-05-07
Author: hidaka@mi.t.u-tokyo.ac.jp
File Name: test/graph_builder_test/graph_test/frontend_test/sub_rules_test/concat_affine_test.py
Class Name:
Method Name: test_conv_scale_scale


Project Name: mil-tokyo/webdnn
Commit Name: 8755c48bb903005a7e819998d51ba41ba892814f
Time: 2017-05-07
Author: hidaka@mi.t.u-tokyo.ac.jp
File Name: test/graph_builder_test/graph_test/frontend_test/sub_rules_test/concat_affine_test.py
Class Name:
Method Name: test_conv_scale_bias