e924fb0abeec6964a320eec7c99c43effa041ecb,test/runtime/operators_test/elementwise_add_test.py,,template,#Any#Any#Any#Any#Any#,10

Before Change


@wrap_template
def template(shape=(2, 3, 4, 5), x1_order=OrderNHWC, x2_order=OrderNHWC, y_order=OrderNHWC,
             description: str = ""):
    vx1 = np.random.rand(*shape) - 0.5
    vx2 = np.random.rand(*shape) - 0.5
    vy = vx1 + vx2

    x1 = Variable(vx1.shape, order=OrderNHWC)

After Change


             description: str = ""):
    // vx1 = np.random.rand(*shape).astype(np.float32) - 0.5
    // vx2 = np.random.rand(*shape).astype(np.float32) - 0.5
    vx1 = np.arange(np.prod(shape)).reshape(shape).astype(np.float32)
    vx2 = np.arange(np.prod(shape)).reshape(shape).astype(np.float32)
    vy = vx1 + vx2

    x1 = Variable(vx1.shape, order=OrderNHWC)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: mil-tokyo/webdnn
Commit Name: e924fb0abeec6964a320eec7c99c43effa041ecb
Time: 2017-08-24
Author: y.kikura@gmail.com
File Name: test/runtime/operators_test/elementwise_add_test.py
Class Name:
Method Name: template


Project Name: deepchem/deepchem
Commit Name: c36de6cdea1f31a6a975d436b065475251f8caaf
Time: 2018-07-20
Author: rbharath@stanford.edu
File Name: deepchem/metrics/tests/test_genomics.py
Class Name: TestGenomicMetrics
Method Name: test_in_silico_mutagenesis


Project Name: mil-tokyo/webdnn
Commit Name: e924fb0abeec6964a320eec7c99c43effa041ecb
Time: 2017-08-24
Author: y.kikura@gmail.com
File Name: test/runtime/operators_test/elementwise_add_test.py
Class Name:
Method Name: template


Project Name: mil-tokyo/webdnn
Commit Name: 892011b0b264d026d2fdb439580d82de393b5270
Time: 2017-04-21
Author: hidaka@mi.t.u-tokyo.ac.jp
File Name: example/convert_resnet/convert_resnet.py
Class Name:
Method Name: main