ef095d4777cbadc72cba12ab6ce56cdc7090069b,test/test_backends.py,,test_expit,#,436

Before Change


    py_y = py_func.expit(py_x)
    torch_y = torch_func.expit(torch_x)

    torch_py_y = torch_matrix.float_tensor(py_y)
    py_torch_y = torch_matrix.to_numpy_array(torch_y)

    assert py_matrix.allclose(py_y, py_torch_y), \
    "python -> torch -> python failure: expit"

After Change



    py_y = py_func.expit(py_x)
    torch_y = torch_func.expit(torch_x)
    assert_close(py_y, torch_y, "expit")

def test_reciprocal():
    shape = (100, 100)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 26

Non-data size: 4

Instances


Project Name: drckf/paysage
Commit Name: ef095d4777cbadc72cba12ab6ce56cdc7090069b
Time: 2017-03-11
Author: charleskennethfisher@gmail.com
File Name: test/test_backends.py
Class Name:
Method Name: test_expit


Project Name: drckf/paysage
Commit Name: 9a32edb5f0115917979ea885a730932b7297e8bc
Time: 2017-03-11
Author: charleskennethfisher@gmail.com
File Name: test/test_backends.py
Class Name:
Method Name: test_logit


Project Name: drckf/paysage
Commit Name: 9a32edb5f0115917979ea885a730932b7297e8bc
Time: 2017-03-11
Author: charleskennethfisher@gmail.com
File Name: test/test_backends.py
Class Name:
Method Name: test_softplus


Project Name: drckf/paysage
Commit Name: 987decd0055377d9613b4c629bd6b280dbb42a19
Time: 2017-03-11
Author: charleskennethfisher@gmail.com
File Name: test/test_backends.py
Class Name:
Method Name: test_square


Project Name: drckf/paysage
Commit Name: e4219bd11b8150ad1911a37594f1794eb5beac76
Time: 2017-03-11
Author: charleskennethfisher@gmail.com
File Name: test/test_backends.py
Class Name:
Method Name: test_zeros


Project Name: drckf/paysage
Commit Name: ef095d4777cbadc72cba12ab6ce56cdc7090069b
Time: 2017-03-11
Author: charleskennethfisher@gmail.com
File Name: test/test_backends.py
Class Name:
Method Name: test_log


Project Name: drckf/paysage
Commit Name: 7986b0a9e99b400c492e2863c52e80f656a3295d
Time: 2017-03-11
Author: charleskennethfisher@gmail.com
File Name: test/test_backends.py
Class Name:
Method Name: test_square_mix_inplace


Project Name: drckf/paysage
Commit Name: 7986b0a9e99b400c492e2863c52e80f656a3295d
Time: 2017-03-11
Author: charleskennethfisher@gmail.com
File Name: test/test_backends.py
Class Name:
Method Name: test_sqrt_div


Project Name: drckf/paysage
Commit Name: 987decd0055377d9613b4c629bd6b280dbb42a19
Time: 2017-03-11
Author: charleskennethfisher@gmail.com
File Name: test/test_backends.py
Class Name:
Method Name: test_sqrt


Project Name: drckf/paysage
Commit Name: ddd0aea131f531235e2b1255603e7f75637c084e
Time: 2017-03-11
Author: charleskennethfisher@gmail.com
File Name: test/test_backends.py
Class Name:
Method Name: test_mix_inplace


Project Name: drckf/paysage
Commit Name: ef095d4777cbadc72cba12ab6ce56cdc7090069b
Time: 2017-03-11
Author: charleskennethfisher@gmail.com
File Name: test/test_backends.py
Class Name:
Method Name: test_tanh


Project Name: drckf/paysage
Commit Name: 9a32edb5f0115917979ea885a730932b7297e8bc
Time: 2017-03-11
Author: charleskennethfisher@gmail.com
File Name: test/test_backends.py
Class Name:
Method Name: test_sin


Project Name: drckf/paysage
Commit Name: 987decd0055377d9613b4c629bd6b280dbb42a19
Time: 2017-03-11
Author: charleskennethfisher@gmail.com
File Name: test/test_backends.py
Class Name:
Method Name: test_cosh


Project Name: drckf/paysage
Commit Name: ddd0aea131f531235e2b1255603e7f75637c084e
Time: 2017-03-11
Author: charleskennethfisher@gmail.com
File Name: test/test_backends.py
Class Name:
Method Name: test_flatten


Project Name: drckf/paysage
Commit Name: 7986b0a9e99b400c492e2863c52e80f656a3295d
Time: 2017-03-11
Author: charleskennethfisher@gmail.com
File Name: test/test_backends.py
Class Name:
Method Name: test_normalize


Project Name: drckf/paysage
Commit Name: 2d444933482dd8be9817bfdc1536cfa60c2366cc
Time: 2017-03-11
Author: charleskennethfisher@gmail.com
File Name: test/test_backends.py
Class Name:
Method Name: test_reciprocal


Project Name: drckf/paysage
Commit Name: ef095d4777cbadc72cba12ab6ce56cdc7090069b
Time: 2017-03-11
Author: charleskennethfisher@gmail.com
File Name: test/test_backends.py
Class Name:
Method Name: test_exp


Project Name: drckf/paysage
Commit Name: 9a32edb5f0115917979ea885a730932b7297e8bc
Time: 2017-03-11
Author: charleskennethfisher@gmail.com
File Name: test/test_backends.py
Class Name:
Method Name: test_acosh


Project Name: drckf/paysage
Commit Name: 987decd0055377d9613b4c629bd6b280dbb42a19
Time: 2017-03-11
Author: charleskennethfisher@gmail.com
File Name: test/test_backends.py
Class Name:
Method Name: test_logaddexp


Project Name: drckf/paysage
Commit Name: e4219bd11b8150ad1911a37594f1794eb5beac76
Time: 2017-03-11
Author: charleskennethfisher@gmail.com
File Name: test/test_backends.py
Class Name:
Method Name: test_ones


Project Name: drckf/paysage
Commit Name: ef095d4777cbadc72cba12ab6ce56cdc7090069b
Time: 2017-03-11
Author: charleskennethfisher@gmail.com
File Name: test/test_backends.py
Class Name:
Method Name: test_tabs


Project Name: drckf/paysage
Commit Name: ddd0aea131f531235e2b1255603e7f75637c084e
Time: 2017-03-11
Author: charleskennethfisher@gmail.com
File Name: test/test_backends.py
Class Name:
Method Name: test_reshape


Project Name: drckf/paysage
Commit Name: 0e15606599bc467654df89250b07ee302ecb5dac
Time: 2017-03-11
Author: charleskennethfisher@gmail.com
File Name: test/test_backends.py
Class Name:
Method Name: test_atanh


Project Name: drckf/paysage
Commit Name: 9a32edb5f0115917979ea885a730932b7297e8bc
Time: 2017-03-11
Author: charleskennethfisher@gmail.com
File Name: test/test_backends.py
Class Name:
Method Name: test_cos


Project Name: drckf/paysage
Commit Name: 9a32edb5f0115917979ea885a730932b7297e8bc
Time: 2017-03-11
Author: charleskennethfisher@gmail.com
File Name: test/test_backends.py
Class Name:
Method Name: test_logcosh


Project Name: drckf/paysage
Commit Name: 987decd0055377d9613b4c629bd6b280dbb42a19
Time: 2017-03-11
Author: charleskennethfisher@gmail.com
File Name: test/test_backends.py
Class Name:
Method Name: test_tpow