b2d383f29d4f9081215722837bcc03ffc2dce618,thinc/tests/test_api_funcs.py,,test_layerize_predict_noop,#Any#Any#Any#,55

Before Change



def test_layerize_predict_noop(model1, model2, nI):
    ones = numpy.ones((10, nI))
    model = layerize(noop(model1, model2))
    y = model(ones)
    assert_allclose(y, ones)

After Change



def test_layerize_predict_noop(model1, model2, nI):
    ones = numpy.ones((10, nI))
    model = noop(model1, model2)
    y = model(ones)
    assert_allclose(y, ones)

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: explosion/thinc
Commit Name: b2d383f29d4f9081215722837bcc03ffc2dce618
Time: 2019-12-26
Author: honnibal+gh@gmail.com
File Name: thinc/tests/test_api_funcs.py
Class Name:
Method Name: test_layerize_predict_noop


Project Name: explosion/thinc
Commit Name: b2d383f29d4f9081215722837bcc03ffc2dce618
Time: 2019-12-26
Author: honnibal+gh@gmail.com
File Name: thinc/tests/integration/test_batch_norm.py
Class Name:
Method Name: layer


Project Name: explosion/thinc
Commit Name: b2d383f29d4f9081215722837bcc03ffc2dce618
Time: 2019-12-26
Author: honnibal+gh@gmail.com
File Name: thinc/tests/test_api_funcs.py
Class Name:
Method Name: test_layerize_update_noop